ValidatorItem Class

Definition

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.

Applies to