Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticMethodMatcher.Matches(MethodInfo, Type, Object) Method

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

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

Always throws a NotSupportedException.

Implements

IMethodMatcher.Matches

Remarks

Always throws a NotSupportedException. This method should never be called on a static matcher.

Exceptions

Exception Type Condition
NotSupportedException Always.

See Also

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