Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodParametersCountCriteria Constructor

Creates a new instance of the MethodParametersCountCriteria class.

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

Parameters

expectedParameterCount
The number of parameters that a MethodInfo must have to satisfy this criteria.

Exceptions

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

See Also

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