







![]() ![]() ![]() |
C# Webserver |
Validator Members |
Validator Class Constructors Methods Fields Properties See Also Send Feedback |
The Validator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Validator | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() ![]() | AddDefaultPhrases |
add default language phrases (only english)
|
![]() | AlphaNumeric |
Check whether the specified value is an integer.
|
![]() | Boolean |
Checks whether a field contains true (can also be in native language).
|
![]() | Char | Overloaded. |
![]() ![]() | Contains |
Checks wether a string contains a specific character.
|
![]() | Digits | Overloaded. |
![]() |
validates email address using a regexp.
| |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Format | Overloaded. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Hex |
Validates a string to be in trimmed hex letters
|
![]() | Integer |
Check whether the specified value is an integer.
|
![]() | Letters | Overloaded. |
![]() | LettersOrDigits |
Validate that a string only contains letters or digits.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Password |
Validate that a string only contains letters or digits or any of the PasswordChars.
|
![]() | Required |
Check's weather a parameter is null or not.
|
![]() | SetDefaultMgr |
Set default language.
|
![]() | String |
Validate a string parameter in the form
|
![]() | ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | _errors |
A list with all errors found.
|
![]() | _modelLang |
Language translation for all "name" parameters.
|
![]() | _validatorLang |
Language for the validator (i.e. "Field {0} is required.")
|
![]() ![]() | EmailRegEx |
Regex used to validate emails.
|
![]() ![]() | FieldAlphaNumeric |
'{0}' may only contain writable characters.
|
![]() ![]() | FieldBoolean |
'{0}' must be {1} or {2}.
|
![]() ![]() | FieldDigits |
'{0}' may only contain digits
|
![]() ![]() | FieldDigitsExtra |
'{0}' may only contain digits and the following characters: '{1}'
|
![]() ![]() | FieldEmail |
'{0}' is not a valid email address.
|
![]() ![]() | FieldHex |
Name of the string to display when testing hex fail
|
![]() ![]() | FieldLetterOrDigit |
'{0}' can only contain letter or digits.
|
![]() ![]() | FieldLetters |
Name of string to display when testing letters fail
|
![]() ![]() | FieldLettersSpecial |
Name of string to display when testing letters fail
|
![]() ![]() | FieldNumber |
'{0}' is not a number.
|
![]() ![]() | FieldPassword |
'{0}' can only contain letter or digits or one of the following chars: {1}
|
![]() ![]() | FieldRequired |
'{0}' is required.
|
![]() ![]() | FieldValueFalse |
Used to check if a field is false.
|
![]() ![]() | FieldValueTrue |
Text: True
|
![]() ![]() | Language |
Language manager used if no one else have been specified.
|
![]() ![]() | PasswordChars |
Extra characters that are allowed in passwords.
|
![]() ![]() | SpecialLetters |
A collection of special letters
|
Properties
Name | Description | |
---|---|---|
![]() | ContainsErrors |
true of validation generated errors.
|
![]() | Errors |
Collection of validation errors.
|