Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CachedAssociatedMetadataProvider<TModelMetadata> Class

 

Provides an abstract class to implement a cached metadata provider.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


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

Type Parameters

TModelMetadata

NameDescription
System_CAPS_protmethodCachedAssociatedMetadataProvider<TModelMetadata>()

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

NameDescription
System_CAPS_protpropertyCacheItemPolicy

Gets the cache item policy.

System_CAPS_protpropertyCacheKeyPrefix

Gets the cache key prefix.

System_CAPS_protpropertyPrototypeCache

Gets the prototype cache.

NameDescription
System_CAPS_protmethodCreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String)

When overridden in a derived class, creates the cached model metadata for the property.(Overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable<Attribute>, Type, Func<Object>, Type, String).)

System_CAPS_protmethodCreateMetadataFromPrototype(TModelMetadata, Func<Object>)

Creates prototype metadata by applying the prototype and model access to yield the final metadata.

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

Creates a metadata prototype.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFilterAttributes(Type, PropertyDescriptor, IEnumerable<Attribute>)

Gets a list of attributes.(Inherited from AssociatedMetadataProvider.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMetadataForProperties(Object, Type)

Gets the metadata for the properties.(Overrides AssociatedMetadataProvider.GetMetadataForProperties(Object, Type).)

System_CAPS_protmethodGetMetadataForProperty(Func<Object>, Type, PropertyDescriptor)

Returns the metadata for the specified property.(Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func<Object>, Type, PropertyDescriptor).)

System_CAPS_pubmethodGetMetadataForProperty(Func<Object>, Type, String)

Returns the metadata for the specified property.(Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func<Object>, Type, String).)

System_CAPS_pubmethodGetMetadataForType(Func<Object>, Type)

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetTypeDescriptor(Type)

Returns the type descriptor from the specified type.(Inherited from AssociatedMetadataProvider.)

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:
© 2015 Microsoft