AssociatedMetadataProvider<TModelMetadata> Class

Provides an abstract class to implement a metadata provider.

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

public abstract class AssociatedMetadataProvider<TModelMetadata> : ModelMetadataProvider 
where TModelMetadata : ModelMetadata

Type Parameters

TModelMetadata

The type of the model metadata.

The AssociatedMetadataProvider<TModelMetadata> type exposes the following members.

  NameDescription
Protected methodAssociatedMetadataProvider<TModelMetadata>Initializes a new instance of the AssociatedMetadataProvider<TModelMetadata> class.
Top

  NameDescription
Protected methodCreateMetadataFromPrototypeWhen overridden in a derived class, creates the model metadata for the property using the specified prototype.
Protected methodCreateMetadataPrototypeWhen overridden in a derived class, creates the model metadata for the property.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetMetadataForPropertiesRetrieves a list of properties for the model. (Overrides ModelMetadataProvider.GetMetadataForProperties(Object, Type).)
Public methodGetMetadataForPropertyRetrieves the metadata for the specified property using the container type and property name. (Overrides ModelMetadataProvider.GetMetadataForProperty(Func<Object>, Type, String).)
Public methodGetMetadataForTypeReturns the metadata for the specified property using the type of the model. (Overrides ModelMetadataProvider.GetMetadataForType(Func<Object>, Type).)
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: