Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodGenericArgumentsCountCriteria.ExpectedGenericArgumentCount Property

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

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

Exceptions

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

See Also

MethodGenericArgumentsCountCriteria Class | Spring.Core Namespace