Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultIntroductionAdvisor.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

This, the default, implementation always returns true.

See Also

DefaultIntroductionAdvisor Class | Spring.Aop.Support Namespace