VNLib.Plugins.Extensions.Validation
Extends the class with provisions for a collection of validations
A collection of error messages to send to clients
Defines extenstion methods for
Gets a collection of Json-serializable validation errors
A collection of json errors to return to a user
Tests the the property against
to determine if the string matches the proper phone number form
Tests the the property against
to determine if the string matches the proper phone number form, or allows emtpy strings
Checks a string against .
If the string is null or empty, it is allowed.
Checks a string against .
If the string is null or empty, it is allowed.
Makes sure a field contains at least 1 character a-Z
Determines if all characters are only a-Z (allows whitespace)
Makes sure a field contains at least 1 numeral
Determines if all characters are only 0-9 (not whitespace is allowed)
Makes sure the field contains at least 1 alpha numeric character (whitespace included)
Determines if all characters are only alpha-numeric (whitespace allowed)
Tests the string against the password regular expression to determine if the
value meets the basic password requirements
Defines a length validator on the current rule builder, but only for string properties.
Validation will fail if the length of the string is outside of the specified range.
The range is inclusive
The length range of the specified string