Max length attribute
More...
|
| override ValidationResult | IsValid (object value, ValidationContext validationContext) |
| | Determines if the property is valid More...
|
| |
Max length attribute
Definition at line 33 of file MaxLength.cs.
| Utilities.Validation.MaxLengthAttribute.MaxLengthAttribute |
( |
long |
Value, |
|
|
string |
ErrorMessage = "" |
|
) |
| |
Constructor
- Parameters
-
| Value | Value to check |
| ErrorMessage | Error message |
Definition at line 40 of file MaxLength.cs.
| override string Utilities.Validation.MaxLengthAttribute.FormatErrorMessage |
( |
string |
name | ) |
|
Formats the error message
- Parameters
-
- Returns
- The formatted string
Definition at line 56 of file MaxLength.cs.
| override ValidationResult Utilities.Validation.MaxLengthAttribute.IsValid |
( |
object |
value, |
|
|
ValidationContext |
validationContext |
|
) |
| |
|
protected |
Determines if the property is valid
- Parameters
-
| value | Value to check |
| validationContext | Validation context |
- Returns
- The validation result
Definition at line 68 of file MaxLength.cs.
| long Utilities.Validation.MaxLengthAttribute.Value |
|
get |
The documentation for this class was generated from the following file: