Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Pointcuts.Matches Method

Performs the least expensive check for a match.

[Visual Basic]
Public Shared Sub Matches( _
   ByVal pointcut As IPointcut, _
   ByVal method As MethodInfo, _
   ByVal targetType As Type, _
   ByVal args As Object _
)
[C#]
public static bool Matches(
   IPointcut pointcut,
   MethodInfo method,
   Type targetType,
   object[] args
);

Parameters

pointcut
The IPointcut to be evaluated.
method
The candidate method.
targetType
The target Type.
args
The arguments to the method

Return Value

true if there is a runtime match.

See Also

Pointcuts Class | Spring.Aop.Support Namespace | Matches