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.
Represents an empty model metadata provider.
public class EmptyModelMetadataProvider : System.Web.Http.Metadata.Providers.AssociatedMetadataProvider<System.Web.Http.Metadata.ModelMetadata>
type EmptyModelMetadataProvider = class
inherit AssociatedMetadataProvider<ModelMetadata>
Public Class EmptyModelMetadataProvider
Inherits AssociatedMetadataProvider(Of ModelMetadata)
- Inheritance
Constructors
EmptyModelMetadataProvider() |
Initializes a new instance of the EmptyModelMetadataProvider class. |
Methods
CreateMetadataFromPrototype(ModelMetadata, Func<Object>) |
Creates metadata from prototype. |
CreateMetadataFromPrototype(TModelMetadata, Func<Object>) |
When overridden in a derived class, creates the model metadata for the property using the specified prototype. (Inherited from AssociatedMetadataProvider<TModelMetadata>) |
CreateMetadataPrototype(IEnumerable<Attribute>, Type, Type, String) |
Creates a prototype of the metadata provider of the EmptyModelMetadataProvider. |
GetMetadataForProperties(Object, Type) |
Retrieves a list of properties for the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>) |
GetMetadataForProperty(Func<Object>, Type, String) |
Retrieves the metadata for the specified property using the container type and property name. (Inherited from AssociatedMetadataProvider<TModelMetadata>) |
GetMetadataForType(Func<Object>, Type) |
Returns the metadata for the specified property using the type of the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>) |