Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticMethodMatcher.Matches(MethodInfo, Type) Method

Does the supplied method satisfy this matcher?

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

Must be implemented by a derived class in order to specify matching rules.

See Also

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