DataAnnotationsModelMetadataProvider クラス

定義

既定のモデル メタデータ プロバイダーを実装します。

public ref class DataAnnotationsModelMetadataProvider : System::Web::ModelBinding::AssociatedMetadataProvider
public class DataAnnotationsModelMetadataProvider : System.Web.ModelBinding.AssociatedMetadataProvider
type DataAnnotationsModelMetadataProvider = class
    inherit AssociatedMetadataProvider
Public Class DataAnnotationsModelMetadataProvider
Inherits AssociatedMetadataProvider
継承
DataAnnotationsModelMetadataProvider

コンストラクター

名前 説明
DataAnnotationsModelMetadataProvider()

DataAnnotationsModelMetadataProvider クラスの新しいインスタンスを初期化します。

メソッド

名前 説明
CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String)

指定したモデルのメタデータを作成します。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
FilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>)

派生クラスが属性の一覧をフィルター処理できるようにします。

(継承元 AssociatedMetadataProvider)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetMetadataForProperties(Object, Type)

派生クラスでオーバーライドされると、すべてのプロパティのメタデータが返されます。

(継承元 AssociatedMetadataProvider)
GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor)

派生クラスでオーバーライドされると、プロパティ記述子オブジェクトで指定されたプロパティのメタデータを返します。

(継承元 AssociatedMetadataProvider)
GetMetadataForProperty(Func<Object>, Type, String)

派生クラスでオーバーライドされると、プロパティ名で指定されたプロパティのメタデータを返します。

(継承元 AssociatedMetadataProvider)
GetMetadataForType(Func<Object>, Type)

派生クラスでオーバーライドされると、モデル型のメタデータを返します。

(継承元 AssociatedMetadataProvider)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
GetTypeDescriptor(Type)

派生クラスでオーバーライドされると、指定した型の記述子オブジェクトを返します。

(継承元 AssociatedMetadataProvider)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象