ValidationHelpers Methods |
The ValidationHelpers type exposes the following members.
Name | Description | |
---|---|---|
GetLength |
Find length of a string. If string is null or empty, returns 0. Should never throw.
| |
ValidateFieldsSet |
Validates that fields are set. Will throw if anything is null or empty.
| |
ValidateLength |
Validates length of a string to be under a certain length. Will throw if string is too long or negative maxLen is provided. If input string is null or empty, length is considered 0. |