String |
The StringValidationRule type exposes the following members.
| Name | Description | |
|---|---|---|
| StringValidationRule | Initializes a new instance of the StringValidationRule class. | |
| StringValidationRule(Int32) | Initializes a new instance of the StringValidationRule class. | |
| StringValidationRule(Int32, Regex, Boolean) | Initializes a new instance of the StringValidationRule class. | |
| StringValidationRule(Int32, Regex, Boolean, FuncString) | Initializes a new instance of the StringValidationRule class. |
| Name | Description | |
|---|---|---|
| IsEmptyStringValid | Gets a value indicating whether empty strings are valid. | |
| MatchingPattern | Gets a regular expression to match the value against. | |
| MaxLength | Gets the maximum allowed length of the value. | |
| PatternDescription | Gets some text describing the validation pattern in friendly language. |
| Name | Description | |
|---|---|---|
| Validate | Validates the specified value against the rule. (Overrides AppSettingValidationRule.Validate(ValidationParameters)) |