ValidatorItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to associate validators with ValidatorMetadata instances as part of ModelValidatorProviderContext. An IModelValidator should inspect Results and set Validator and IsReusable as appropriate.
public ref class ValidatorItem
public class ValidatorItem
type ValidatorItem = class
Public Class ValidatorItem
- Inheritance
-
ValidatorItem
Constructors
ValidatorItem() |
Creates a new ValidatorItem. |
ValidatorItem(Object) |
Creates a new ValidatorItem. |
Properties
IsReusable |
Gets or sets a value indicating whether or not Validator can be reused across requests. |
Validator |
Gets or sets the IModelValidator. |
ValidatorMetadata |
Gets the metadata associated with the Validator. |