This documentation is archived and is not being maintained.
CachedAssociatedMetadataProvider(Of 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)
'Declaration
Public MustInherit Class CachedAssociatedMetadataProvider(Of TModelMetadata As ModelMetadata) _
Inherits AssociatedMetadataProvider
'Usage
Dim instance As CachedAssociatedMetadataProvider(Of TModelMetadata)
Type Parameters
- TModelMetadata
The CachedAssociatedMetadataProvider(Of TModelMetadata) type exposes the following members.
|
| Name | Description |
|---|
.gif?cs-save-lang=1&cs-lang=vb) | CreateMetadata | When overridden in a derived class, creates the cached model metadata for the property. (Overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable(Of Attribute), Type, Func(Of Object), Type, String).) |
.gif?cs-save-lang=1&cs-lang=vb) | CreateMetadataFromPrototype | Creates prototype metadata by applying the prototype and model access to yield the final metadata. |
.gif?cs-save-lang=1&cs-lang=vb) | CreateMetadataPrototype | Creates a metadata prototype. |
.gif?cs-save-lang=1&cs-lang=vb) | Equals | (Inherited from Object.) |
.gif?cs-save-lang=1&cs-lang=vb) | FilterAttributes | Gets a list of attributes. (Inherited from AssociatedMetadataProvider.) |
.gif?cs-save-lang=1&cs-lang=vb) | Finalize | (Inherited from Object.) |
.gif?cs-save-lang=1&cs-lang=vb) | GetHashCode | (Inherited from Object.) |
.gif?cs-save-lang=1&cs-lang=vb) | GetMetadataForProperties | Gets the metadata for the properties. (Overrides AssociatedMetadataProvider.GetMetadataForProperties(Object, Type).) |
.gif?cs-save-lang=1&cs-lang=vb) | GetMetadataForProperty(Func(Of Object), Type, PropertyDescriptor) | Returns the metadata for the specified property. (Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func(Of Object), Type, PropertyDescriptor).) |
.gif?cs-save-lang=1&cs-lang=vb) | GetMetadataForProperty(Func(Of Object), Type, String) | Returns the metadata for the specified property. (Overrides AssociatedMetadataProvider.GetMetadataForProperty(Func(Of Object), Type, String).) |
.gif?cs-save-lang=1&cs-lang=vb) | GetMetadataForType | Returns the cached metadata for the specified property using the type of the model. (Overrides AssociatedMetadataProvider.GetMetadataForType(Func(Of Object), Type).) |
.gif?cs-save-lang=1&cs-lang=vb) | GetType | (Inherited from Object.) |
.gif?cs-save-lang=1&cs-lang=vb) | GetTypeDescriptor | Returns the type descriptor from the specified type. (Inherited from AssociatedMetadataProvider.) |
.gif?cs-save-lang=1&cs-lang=vb) | MemberwiseClone | (Inherited from Object.) |
.gif?cs-save-lang=1&cs-lang=vb) | ToString | (Inherited from Object.) |
TopAny public
static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.