Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodGenericArgumentsCountCriteria Constructor

Creates a new instance of the MethodGenericArgumentsCountCriteria class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal expectedGenericArgumentCount As Integer _
)
[C#]
MethodGenericArgumentsCountCriteria(
   int expectedGenericArgumentCount
);

Parameters

expectedGenericArgumentCount
The number of generic arguments that a MethodInfo must have to satisfy this criteria.

Exceptions

Exception Type Condition
ArgumentException If the supplied expectedParameterCount is less than zero.

See Also

MethodGenericArgumentsCountCriteria Class | Spring.Core Namespace | MethodGenericArgumentsCountCriteria Constructor Overload List