Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodMatchers.Union Method

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

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

Parameters

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

Return Value

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

Remarks

The newly created matcher will match all the methods that either of the two supplied matchers would match.

See Also

MethodMatchers Class | Spring.Aop.Support Namespace