Not in range attribute
More...
|
override ValidationResult | IsValid (object value, ValidationContext validationContext) |
| Determines if the property is valid More...
|
|
|
IComparable | Max [get] |
| Max value to compare to More...
|
|
IComparable | Min [get] |
| Min value to compare to More...
|
|
Not in range attribute
Definition at line 35 of file NotInRange.cs.
Utilities.Validation.NotInRangeAttribute.NotInRangeAttribute |
( |
object |
Min, |
|
|
object |
Max, |
|
|
string |
ErrorMessage = "" |
|
) |
| |
Constructor
- Parameters
-
Max | Max value |
Min | Min value |
ErrorMessage | Error message |
Definition at line 43 of file NotInRange.cs.
override string Utilities.Validation.NotInRangeAttribute.FormatErrorMessage |
( |
string |
name | ) |
|
Formats the error message
- Parameters
-
- Returns
- The formatted string
Definition at line 65 of file NotInRange.cs.
override ValidationResult Utilities.Validation.NotInRangeAttribute.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 76 of file NotInRange.cs.
IComparable Utilities.Validation.NotInRangeAttribute.Max |
|
get |
IComparable Utilities.Validation.NotInRangeAttribute.Min |
|
get |
The documentation for this class was generated from the following file: