Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.ParameterTypesMatch Method

Checks that the parameter Types of the supplied candidate match the parameter Types of the supplied parameterTypes.

[Visual Basic]
Public Shared Sub ParameterTypesMatch( _
   ByVal candidate As MethodInfo, _
   ByVal parameterTypes As Type _
)
[C#]
public static bool ParameterTypesMatch(
   MethodInfo candidate,
   Type[] parameterTypes
);

Parameters

candidate
The method to be checked.
parameterTypes
The array of parameter Types to check against.

Return Value

true if the parameter Types match.

See Also

ReflectionUtils Class | Spring.Util Namespace