Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMethodMatcher.Matches(MethodInfo, Type) Method

Does the supplied method satisfy this matcher?

[Visual Basic]
Public Sub Matches( _
   ByVal method As MethodInfo, _
   ByVal targetType As Type _
bool Matches(
   MethodInfo method,
   Type targetType


The candidate method.
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.


This is a static check. If this method invocation returns false,or if the IsRuntime property is false, then no runtime check will be made.

See Also

IMethodMatcher Interface | Spring.Aop Namespace | IMethodMatcher.Matches Overload List