Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TrueMethodMatcher.Matches(MethodInfo, Type) Method

Does the supplied method satisfy this matcher? Perform static checking. If this returns false, or if the isRuntime() method returns false, no runtime check will be made.

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

Parameters

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

Return Value

true if this this method matches statically.

Implements

IMethodMatcher.Matches

See Also

TrueMethodMatcher Class | Spring.Aop Namespace | TrueMethodMatcher.Matches Overload List | Matches