CuttingEdge.Conditions reference library |
ValidatorExtensions..::.HasLength Method |
ValidatorExtensions Class See Also Send Feedback |
Overload List
Name | Description | |
---|---|---|
HasLength(ConditionValidator<(Of <(String>)>), Int32) |
Checks whether the given value is equal in length to length.
An exception is thrown otherwise. A null reference is considered to have a length of 0.
| |
HasLength<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32) |
Checks whether the given value has the number of elements as specified by
numberOfElements. An exception is thrown otherwise. When the value is a null
reference, it is considered to have 0 elements.
| |
HasLength(ConditionValidator<(Of <(String>)>), Int32, String) |
Checks whether the given value is equal in length to length.
An exception is thrown otherwise. A null reference is considered to have a length of 0.
| |
HasLength<(Of <(TCollection>)>)(ConditionValidator<(Of <(TCollection>)>), Int32, String) |
Checks whether the given value has the number of elements as specified by
numberOfElements. An exception is thrown otherwise. When the value is a null
reference, it is considered to have 0 elements.
|