Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodMatchers.Intersection Method

Creates a new IMethodMatcher that is the intersection of the two supplied IMethodMatchers.

[Visual Basic]
Public Shared Sub Intersection( _
   ByVal firstMatcher As IMethodMatcher, _
   ByVal secondMatcher As IMethodMatcher _
)
[C#]
public static IMethodMatcher Intersection(
   IMethodMatcher firstMatcher,
   IMethodMatcher secondMatcher
);

Parameters

firstMatcher
The first method matcher.
secondMatcher
The second method matcher.

Return Value

A new IMethodMatcher that is the intersection of the two supplied IMethodMatchers

Remarks

The newly created matcher will match only those methods that both of the supplied matchers would match.

See Also

MethodMatchers Class | Spring.Aop.Support Namespace