DataAnnotationsModelMetadataProvider クラス

定義

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

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

コンストラクター

DataAnnotationsModelMetadataProvider()

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

メソッド

CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String)

指定したプロパティのメタデータを取得します。

FilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>)

属性のリストを取得します。

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

モデルのプロパティのリストを返します。

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

コンテナーの型およびプロパティ記述子を使用して指定したプロパティのメタデータを返します。

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

コンテナーの型およびプロパティ名を使用して指定したプロパティのメタデータを返します。

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

モデルの型を使用して指定したプロパティのメタデータを返します。

(継承元 AssociatedMetadataProvider)
GetTypeDescriptor(Type)

指定した型の型記述子を返します。

(継承元 AssociatedMetadataProvider)

適用対象