See: Description
| 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.
|
| HostPort |
Marks a property as being a string, with a "host:port", where host is a valid hostname, IPv4 address or IPv6 address
and port is in the range of 0 to 65535.
|
| HostPortList |
Marks a property as being a string, with a comma or space separated list of "host:port", where host is a
valid hostname, IPv4 address or IPv6 address and port is in the range of 0 to 65535
|
| 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.
|