Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DynamicMethodMatcher.Matches(MethodInfo, Type) Method

Does the supplied method satisfy this matcher?

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

Parameters

method
The candidate method.
targetType
The target Type (may be a null reference (Nothing in Visual Basic), in which case the candidate Type must be taken to be the method's declaring class).

Return Value

true if this this method matches statically.

Implements

IMethodMatcher.Matches

Remarks

Derived classes can override this method to add preconditions for dynamic matching.

This implementation always returns true.

See Also

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