Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodParametersCountCriteria.ExpectedParameterCount Property

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

[Visual Basic]
Public Property ExpectedParameterCount() As Integer
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public int ExpectedParameterCount { public get; public set; }

Exceptions

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

See Also

MethodParametersCountCriteria Class | Spring.Core Namespace