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)


generic<typename TModelMetadata>
where TModelMetadata : ModelMetadata
public ref class AssociatedMetadataProvider abstract : ModelMetadataProvider

Type Parameters

TModelMetadata

The type of the model metadata.

NameDescription
System_CAPS_protmethodAssociatedMetadataProvider<TModelMetadata>()

Initializes a new instance of the AssociatedMetadataProvider<TModelMetadata> class.

NameDescription
System_CAPS_protmethodCreateMetadataFromPrototype(TModelMetadata, Func<Object^>^)

When overridden in a derived class, creates the model metadata for the property using the specified prototype.

System_CAPS_protmethodCreateMetadataPrototype(IEnumerable<Attribute^>^, Type^, Type^, String^)

When overridden in a derived class, creates the model metadata for the property.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetadataForProperties(Object^, Type^)

Retrieves a list of properties for the model.(Overrides ModelMetadataProvider::GetMetadataForProperties(Object^, Type^).)

System_CAPS_pubmethodGetMetadataForProperty(Func<Object^>^, Type^, String^)

Retrieves the metadata for the specified property using the container type and property name.(Overrides ModelMetadataProvider::GetMetadataForProperty(Func<Object^>^, Type^, String^).)

System_CAPS_pubmethodGetMetadataForType(Func<Object^>^, Type^)

Returns the metadata for the specified property using the type of the model.(Overrides ModelMetadataProvider::GetMetadataForType(Func<Object^>^, Type^).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: