Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CachedDataAnnotationsModelMetadataProvider Class
Collapse the table of content
Expand the table of content

CachedDataAnnotationsModelMetadataProvider Class

 

Implements the default cached model metadata provider for ASP.NET MVC.

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


Public Class CachedDataAnnotationsModelMetadataProvider
	Inherits CachedAssociatedMetadataProvider(Of CachedDataAnnotationsModelMetadata)

NameDescription
System_CAPS_pubmethodCachedDataAnnotationsModelMetadataProvider()

Initializes a new instance of the CachedDataAnnotationsModelMetadataProvider class.

NameDescription
System_CAPS_protpropertyCacheItemPolicy

Gets the cache item policy.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_protpropertyCacheKeyPrefix

Gets the cache key prefix.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_protpropertyPrototypeCache

Gets the prototype cache.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

NameDescription
System_CAPS_protmethodCreateMetadata(IEnumerable(Of Attribute), Type, Func(Of Object), Type, String)

When overridden in a derived class, creates the cached model metadata for the property.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_protmethodCreateMetadataFromPrototype(CachedDataAnnotationsModelMetadata, Func(Of Object))

Returns a container of real instances of the cached metadata class based on prototype and model accessor.(Overrides CachedAssociatedMetadataProvider(Of TModelMetadata).CreateMetadataFromPrototype(TModelMetadata, Func(Of Object)).)

System_CAPS_protmethodCreateMetadataPrototype(IEnumerable(Of Attribute), Type, Type, String)
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFilterAttributes(Type, PropertyDescriptor, IEnumerable(Of 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.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_protmethodGetMetadataForProperty(Func(Of Object), Type, PropertyDescriptor)

Returns the metadata for the specified property.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_pubmethodGetMetadataForProperty(Func(Of Object), Type, String)

Returns the metadata for the specified property.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

System_CAPS_pubmethodGetMetadataForType(Func(Of Object), Type)

Returns the cached metadata for the specified property using the type of the model.(Inherited from CachedAssociatedMetadataProvider(Of TModelMetadata).)

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