EmptyModelMetadataProvider Class
Definition
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 an empty metadata provider for data models that do not require metadata.
public class EmptyModelMetadataProvider : System.Web.Mvc.AssociatedMetadataProvider
type EmptyModelMetadataProvider = class
inherit AssociatedMetadataProvider
Public Class EmptyModelMetadataProvider
Inherits AssociatedMetadataProvider
- Inheritance
Constructors
EmptyModelMetadataProvider() |
Initializes a new instance of the EmptyModelMetadataProvider class. |
Methods
CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String) |
Creates a new instance of the ModelMetadata class. |
FilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>) |
Gets a list of attributes. (Inherited from AssociatedMetadataProvider) |
GetMetadataForProperties(Object, Type) |
Returns a list of properties for the model. (Inherited from AssociatedMetadataProvider) |
GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor) |
Returns the metadata for the specified property using the container type and property descriptor. (Inherited from AssociatedMetadataProvider) |
GetMetadataForProperty(Func<Object>, Type, String) |
Returns the metadata for the specified property using the container type and property name. (Inherited from AssociatedMetadataProvider) |
GetMetadataForType(Func<Object>, Type) |
Returns the metadata for the specified property using the type of the model. (Inherited from AssociatedMetadataProvider) |
GetTypeDescriptor(Type) |
Returns the type descriptor from the specified type. (Inherited from AssociatedMetadataProvider) |