Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CacheResultAdvisor.Matches(MethodInfo, Type) Method

Returns true if either CacheResultAttribute or CacheResultItemsAttribute is applied to the method.

[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 either CacheResultAttribute or CacheResultItemsAttribute is applied to the method; false otherwise.

Implements

IMethodMatcher.Matches

See Also

CacheResultAdvisor Class | Spring.Aspects.Cache Namespace | CacheResultAdvisor.Matches Overload List