Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DynamicMethodMatcher.Matches(MethodInfo, Type, Object) Method

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

[Visual Basic]
Public MustOverride Overloads Sub Matches( _
   ByVal method As MethodInfo, _
   ByVal targetType As Type, _
   ByVal args As Object _
) _
    Implements IMethodMatcher.Matches
[C#]
public abstract 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.

Implements

IMethodMatcher.Matches

Remarks

Must be overriden by derived classes to provide criteria for dynamic matching.

See Also

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