| Name | Type | Description |
|---|
| value | System.Object | The value to validate, as an invariant string or an already typed value. |
| valueType | System.Type | The type the value represents (e.g. typeof(int)). |
| displayName | System.String | The name used in the default messages of the attributes. |
| attributes | System.Collections.Generic.IEnumerable{System.ComponentModel.DataAnnotations.ValidationAttribute} | The validation attributes to apply. |
| invalidValueMessage | System.String | The message added when the value cannot be converted to the value type (optional). |
| instance | System.Object | The object passed to the validation context (optional). |