Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RootTypeFilter.Matches Method

Should the pointcut apply to the supplied Type?

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

Parameters

type
The candidate Type.

Return Value

true if the advice should apply to the supplied type

Implements

ITypeFilter.Matches

Remarks

Returns true if the supplied type can be assigned to the root Type.

See Also

RootTypeFilter Class | Spring.Aop.Support Namespace