Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodOverride.Matches Method

Does this MethodOverride match the supplied method?

[Visual Basic]
Public MustOverride Sub Matches( _
   ByVal method As MethodInfo _
public abstract bool Matches(
   MethodInfo method


The method to be checked.

Return Value

if this override matches the supplied method.


By 'match' one means does this particular MethodOverride instance apply to the supplied method?

This allows for argument list checking as well as method name checking.

See Also

MethodOverride Class | Spring.Objects.Factory.Support Namespace