Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.GetMatchingMethods Method

Tries to find matching methods in the specified Type for each method in the supplied methods list.

[Visual Basic]
Public Shared Sub GetMatchingMethods( _
   ByVal type As Type, _
   ByVal methods As MethodInfo, _
   ByVal strict As Boolean _
)
[C#]
public static MethodInfo[] GetMatchingMethods(
   Type type,
   MethodInfo[] methods,
   bool strict
);

Parameters

type
The Type to look for matching methods in.
methods
The methods to match.
strict
A flag that specifies whether to throw an exception if a matching method is not found.

Return Value

A list of the matched methods.

Exceptions

Exception Type Condition
ArgumentNullException If either of the type or methods parameters are a null reference (Nothing in Visual Basic).

See Also

ReflectionUtils Class | Spring.Util Namespace