Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ControlFlowPointcut.Matches(MethodInfo, Type, Object) Method

Is there a runtime (dynamic) match for the supplied method?

[Visual Basic]
Public Overridable Overloads Sub Matches( _
   ByVal method As MethodInfo, _
   ByVal targetType As Type, _
   ByVal args As Object _
) _
    Implements IMethodMatcher.Matches
[C#]
public virtual bool Matches(
   MethodInfo method,
   Type targetType,
   object[] args
);

Parameters

method
The candidate method.
targetType
The target class.
args
The arguments to the method

Return Value

true if there is a runtime match.

Implements

IMethodMatcher.Matches

Remarks

Subclasses are encouraged to override this method if it is possible to filter out some candidate classes.

See Also

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