Microsoft.AspNetCore.Mvc.DataAnnotations Namespace
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.
Provides types that discover model metadata and implement validation using System.ComponentModel.DataAnnotations.
Classes
AttributeAdapterBase<TAttribute> |
An abstract subclass of ValidationAttributeAdapter<TAttribute> which wraps up all the required interfaces for the adapters. |
MvcDataAnnotationsLocalizationOptions |
Provides programmatic configuration for DataAnnotations localization in the MVC framework. |
RequiredAttributeAdapter | |
ValidationAttributeAdapter<TAttribute> |
An implementation of IClientModelValidator which understands data annotation attributes. |
ValidationAttributeAdapterProvider |
Creates an IAttributeAdapter for the given attribute. |
ValidationProviderAttribute |
Abstract class for grouping attributes of type ValidationAttribute into one Attribute |
Interfaces
IAttributeAdapter |
Interface so that adapters provide their relevant values to error messages. |
IValidationAttributeAdapterProvider |
Provider for supplying IAttributeAdapter's. |
Remarks
For an introduction to validation, Model validation.