ModelValidatorProviderContext ModelValidatorProviderContext ModelValidatorProviderContext ModelValidatorProviderContext Class

Definition

A context for IModelValidatorProvider.

public ref class ModelValidatorProviderContext
public class ModelValidatorProviderContext
type ModelValidatorProviderContext = class
Public Class ModelValidatorProviderContext
Inheritance
ModelValidatorProviderContextModelValidatorProviderContextModelValidatorProviderContextModelValidatorProviderContext

Constructors

ModelValidatorProviderContext(ModelMetadata, IList<ValidatorItem>) ModelValidatorProviderContext(ModelMetadata, IList<ValidatorItem>) ModelValidatorProviderContext(ModelMetadata, IList<ValidatorItem>) ModelValidatorProviderContext(ModelMetadata, IList<ValidatorItem>)

Creates a new ModelValidatorProviderContext.

Properties

ModelMetadata ModelMetadata ModelMetadata ModelMetadata

Gets the ModelMetadata.

Results Results Results Results

Gets the list of ValidatorItem instances. IModelValidatorProvider instances should add the appropriate Validator properties when CreateValidators(ModelValidatorProviderContext) is called.

ValidatorMetadata ValidatorMetadata ValidatorMetadata ValidatorMetadata

Gets the validator metadata.

Applies to