ModelValidatorProviderContext 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.
A context for IModelValidatorProvider.
public ref class ModelValidatorProviderContext
public class ModelValidatorProviderContext
type ModelValidatorProviderContext = class
Public Class ModelValidatorProviderContext
- Inheritance
-
ModelValidatorProviderContext
Constructors
ModelValidatorProviderContext(ModelMetadata, IList<ValidatorItem>) |
Creates a new ModelValidatorProviderContext. |
Properties
ModelMetadata |
Gets the ModelMetadata. |
Results |
Gets the list of ValidatorItem instances. IModelValidatorProvider instances should add the appropriate Validator properties when CreateValidators(ModelValidatorProviderContext) is called. |
ValidatorMetadata |
Gets the validator metadata. |