DataAnnotationsModelMetadataProvider Methods

Include Protected Members
Include Inherited Members

The DataAnnotationsModelMetadataProvider type exposes the following members.

Methods

  Name Description
Protected method CreateMetadata Gets the metadata for the specified property. (Overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method FilterAttributes Gets a list of attributes. (Inherited from AssociatedMetadataProvider.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMetadataForProperties Returns a list of properties for the model. (Inherited from AssociatedMetadataProvider.)
Protected method GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor) Returns the metadata for the specified property using the container type and property descriptor. (Inherited from AssociatedMetadataProvider.)
Public method GetMetadataForProperty(Func<Object>, Type, String) Returns the metadata for the specified property using the container type and property name. (Inherited from AssociatedMetadataProvider.)
Public method GetMetadataForType Returns the metadata for the specified property using the type of the model. (Inherited from AssociatedMetadataProvider.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetTypeDescriptor Returns the type descriptor from the specified type. (Inherited from AssociatedMetadataProvider.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference

DataAnnotationsModelMetadataProvider Class

System.Web.Mvc Namespace