Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ControlFlowPointcut.Matches(Type) Method

Should the pointcut apply to the supplied Type?

[Visual Basic]
Public Overridable Overloads Sub Matches( _
   ByVal type As Type _
) _
    Implements ITypeFilter.Matches
[C#]
public virtual bool Matches(
   Type type
);

Parameters

type
The candidate target class.

Return Value

true if the advice should apply to the supplied type

Implements

ITypeFilter.Matches

Remarks

Subclasses are encouraged to override this method for greater filtering (and performance).

This, the default, implementation always matches (returns true).

See Also

ControlFlowPointcut Class | Spring.Aop.Support Namespace | ControlFlowPointcut.Matches Overload List