Empty attribute
More...
|
override ValidationResult | IsValid (object value, ValidationContext validationContext) |
| Determines if the property is valid More...
|
|
Empty attribute
Definition at line 33 of file Empty.cs.
Utilities.Validation.EmptyAttribute.EmptyAttribute |
( |
string |
ErrorMessage = "" | ) |
|
Constructor
- Parameters
-
ErrorMessage | Error message |
Definition at line 39 of file Empty.cs.
override string Utilities.Validation.EmptyAttribute.FormatErrorMessage |
( |
string |
name | ) |
|
Formats the error message
- Parameters
-
- Returns
- The formatted string
Definition at line 49 of file Empty.cs.
override ValidationResult Utilities.Validation.EmptyAttribute.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 60 of file Empty.cs.
The documentation for this class was generated from the following file: