Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NameMatchMethodPointcut.IsMatch Method

Does the supplied methodName match the supplied mappedName?

[Visual Basic]
Protected Overridable Sub IsMatch( _
   ByVal methodName As String, _
   ByVal mappedName As String _
)
[C#]
protected virtual bool IsMatch(
   string methodName,
   string mappedName
);

Parameters

methodName
The method name of the class.
mappedName
The name in the descriptor.

Return Value

True if the names match.

Remarks

The default implementation checks for "xxx*", "*xxx" and "*xxx*" matches, as well as direct equality. Can be overridden in subclasses.

See Also

NameMatchMethodPointcut Class | Spring.Aop.Support Namespace