IsShorterOrEqual Method

CuttingEdge.Conditions

Overload List

  NameDescription
IsShorterOrEqual(ConditionValidator<(Of <(String>)>), Int32)
Checks whether the given value is shorter or equal in length than maxLength. An exception is thrown otherwise. A null reference is considered to have a length of 0.
IsShorterOrEqual<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32)
Checks whether the number of elements in the given value, is less than or equal to the specified numberOfElements argument. An exception is thrown otherwise. When the value is a null reference, it is considered to have 0 elements.
IsShorterOrEqual(ConditionValidator<(Of <(String>)>), Int32, String)
Checks whether the given value is shorter or equal in length than maxLength. An exception is thrown otherwise. A null reference is considered to have a length of 0.
IsShorterOrEqual<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32, String)
Checks whether the number of elements in the given value, is less than or equal to 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