Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMethodMatcher.Matches(MethodInfo, Type, Object) Method

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

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

Parameters

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

Return Value

true if there is a runtime match.

Remarks

In order for this method to have even been invoked, the supplied method must have matched statically. This method is invoked only if the two argument Matches method returns true for the supplied method and targetType, and if the IsRuntime property is true.

Invoked immediately before any potential running of the advice, and after any advice earlier in the advice chain has run.

See Also

IMethodMatcher Interface | Spring.Aop Namespace | IMethodMatcher.Matches Overload List