Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.HasAtLeastOneMethodWithName Method

Does the given Type and/or it's superclasses have at least one or more methods with the given name (with any argument types)?

[Visual Basic]
Public Shared Sub HasAtLeastOneMethodWithName( _
   ByVal type As Type, _
   ByVal name As String _
)
[C#]
public static bool HasAtLeastOneMethodWithName(
   Type type,
   string name
);

Parameters

type
The Type to be checked.
name
The name of the method to be searched for. Case inSenSItivE.

Return Value

true if the given Type or / and it's superclasses have at least one or more methods (with any argument types); false if not, or either of the parameters is a null reference (Nothing in Visual Basic).

Remarks

Includes non-public methods in the methods searched.

See Also

ReflectionUtils Class | Spring.Util Namespace