EmptyModelMetadataProvider Class

Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

public class EmptyModelMetadataProvider : AssociatedMetadataProvider<ModelMetadata>

The EmptyModelMetadataProvider type exposes the following members.

  NameDescription
Public methodEmptyModelMetadataProviderInitializes a new instance of the EmptyModelMetadataProvider class.
Top

  NameDescription
Protected methodCreateMetadataFromPrototypeCreates metadata from prototype. (Overrides AssociatedMetadataProvider<TModelMetadata>.CreateMetadataFromPrototype(TModelMetadata, Func<Object>).)
Protected methodCreateMetadataPrototypeCreates a prototype of the metadata provider of the EmptyModelMetadataProvider. (Overrides AssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype(IEnumerable<Attribute>, Type, Type, String).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetMetadataForPropertiesRetrieves a list of properties for the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>.)
Public methodGetMetadataForPropertyRetrieves the metadata for the specified property using the container type and property name. (Inherited from AssociatedMetadataProvider<TModelMetadata>.)
Public methodGetMetadataForTypeReturns the metadata for the specified property using the type of the model. (Inherited from AssociatedMetadataProvider<TModelMetadata>.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: