IsNotLongerThan Method

CuttingEdge.Conditions

Overload List

  NameDescription
IsNotLongerThan<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32)
Checks whether the number of elements in the given value, is not more than the specified numberOfElements argument. An exception is thrown otherwise. When the value is a null reference, it is considered to have 0 elements.
IsNotLongerThan<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32, String)
Checks whether the number of elements in the given value, is not more than the specified numberOfElements argument. An exception is thrown otherwise. When the value is a null reference, it is considered to have 0 elements.

See Also