ValidatorItem ValidatorItem ValidatorItem 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
ValidatorItemValidatorItemValidatorItemValidatorItem

Constructors

ValidatorItem() ValidatorItem() ValidatorItem() ValidatorItem()

Creates a new ValidatorItem.

ValidatorItem(Object) ValidatorItem(Object) ValidatorItem(Object) ValidatorItem(Object)

Creates a new ValidatorItem.

Properties

IsReusable IsReusable IsReusable IsReusable

Gets or sets a value indicating whether or not Validator can be reused across requests.

Validator Validator Validator Validator

Gets or sets the IModelValidator.

ValidatorMetadata ValidatorMetadata ValidatorMetadata ValidatorMetadata

Gets the metadata associated with the Validator.

Applies to