| Annotation Type | Description |
|---|---|
| Contains |
Marks a property as being a string, non null, that contains the specified value.
|
|
Marks a property as being a string, non null, valid email.
|
|
| GreaterThan |
Marks a property as being a number, non null, greater than the specified value.
|
| InstanceOf |
Marks a property as being an instance of all of the specified Classes.
|
| LessThan |
Marks a property as being a number, non null, less than the specified value.
|
| Matches |
Marks a property as being a string, non null, matching the specified regular expression.
|
| MaxLength |
Marks a property as being a string, non null, of specified maximum length.
|
| MinLength |
Marks a property as being a string, non null, of specified minimum length.
|
| NotEmpty |
Marks a property as being a string or collection, non null, not empty.
|
| OneOf |
Marks a property as being a string, non null, one of the specified strings.
|
| Range |
Marks a property as being a number, non null, in the specified range.
|
| URI |
Mark a property as being a valid, non null, Universal Resource Identifier.
|
| URL |
Mark a property as being a valid, non null, Universal Resource Locator.
|