Microsoft.AspNetCore.Mvc.DataAnnotations 名前空間

System.ComponentModel.DataAnnotations を使用してモデル メタデータを検出し、検証を実装する型を提供します。

クラス

AttributeAdapterBase<TAttribute>

アダプターに ValidationAttributeAdapter<TAttribute> 必要なすべてのインターフェイスをラップする 抽象サブクラス。

MvcDataAnnotationsLocalizationOptions

MVC フレームワークでの DataAnnotations ローカライズのプログラムによる構成を提供します。

RequiredAttributeAdapter

AttributeAdapterBase<TAttribute>RequiredAttribute

ValidationAttributeAdapter<TAttribute>

データ注釈属性を理解する の実装 IClientModelValidator

ValidationAttributeAdapterProvider

指定した IAttributeAdapter 属性の を作成します。

ValidationProviderAttribute

ValidationAttribute の属性を 1 つにグループ化するための抽象クラス Attribute

インターフェイス

IAttributeAdapter

アダプターがエラー メッセージに関連する値を提供するようにインターフェイスします。

IValidationAttributeAdapterProvider

を提供するための IAttributeAdapterプロバイダー。

注釈

検証の概要については、「モデルの検証」を 参照してください