Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ParameterValidationAdvisor.Matches(MethodInfo, Type) Method

Returns true if any of the parameters of the specified method has ValidatedAttribute applied.

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

Parameters

method
Method to check.
targetType
Type of target object.

Return Value

true if any of the parameters of the specified method has ValidatedAttribute applied; false otherwise.

Implements

IMethodMatcher.Matches

See Also

ParameterValidationAdvisor Class | Spring.Aspects.Validation Namespace | ParameterValidationAdvisor.Matches Overload List