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)

JScript does not support generic types and methods.

Type Parameters

TModelMetadata

The CachedAssociatedMetadataProvider(TModelMetadata) type exposes the following members.

  NameDescription
Protected methodCachedAssociatedMetadataProvider(TModelMetadata)Initializes a new instance of the CachedAssociatedMetadataProvider(TModelMetadata) class.
Top

  NameDescription
Protected propertyCacheItemPolicyGets the cache item policy.
Protected propertyCacheKeyPrefixGets the cache key prefix.
Protected propertyPrototypeCacheGets the prototype cache.
Top

  NameDescription
Protected methodCreateMetadataWhen overridden in a derived class, creates the cached model metadata for the property. (Overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable(Attribute), Type, Func(Object), Type, String).)
Protected methodCreateMetadataFromPrototypeCreates prototype metadata by applying the prototype and model access to yield the final metadata.
Protected methodCreateMetadataPrototypeCreates a metadata prototype.
Public methodEquals (Inherited from Object.)
Protected methodFilterAttributesGets a list of attributes. (Inherited from AssociatedMetadataProvider.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetMetadataForPropertiesGets the metadata for the properties. (Overrides AssociatedMetadataProvider.GetMetadataForProperties(Object, Type).)
Protected methodGetMetadataForProperty(Func(Object), Type, PropertyDescriptor)Returns the metadata for the specified property. (Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func(Object), Type, PropertyDescriptor).)
Public methodGetMetadataForProperty(Func(Object), Type, String)Returns the metadata for the specified property. (Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func(Object), Type, String).)
Public methodGetMetadataForTypeReturns the cached metadata for the specified property using the type of the model. (Overrides AssociatedMetadataProvider.GetMetadataForType(Func(Object), Type).)
Public methodGetType (Inherited from Object.)
Protected methodGetTypeDescriptorReturns the type descriptor from the specified type. (Inherited from AssociatedMetadataProvider.)
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:
© 2014 Microsoft