CachedModelMetadata<TPrototypeCache> CachedModelMetadata<TPrototypeCache> CachedModelMetadata<TPrototypeCache> Constructors

Definition

Overloads

CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>)

Constructor for creating the prototype instances of the metadata class.

CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache) CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache) CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache)

Constructor for creating real instances of the metadata class based on a prototype.

CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>)

Constructor for creating the prototype instances of the metadata class.

protected CachedModelMetadata (System.Web.Mvc.CachedModelMetadata<TPrototypeCache> prototype, Func<object> modelAccessor);
new System.Web.Mvc.CachedModelMetadata<'PrototypeCache> : System.Web.Mvc.CachedModelMetadata<'PrototypeCache> * Func<obj> -> System.Web.Mvc.CachedModelMetadata<'PrototypeCache>
Protected Sub New (prototype As CachedModelMetadata(Of TPrototypeCache), modelAccessor As Func(Of Object))

Parameters

modelAccessor
Func<Object>

The model accessor.

CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache) CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache) CachedModelMetadata<TPrototypeCache>(CachedDataAnnotationsModelMetadataProvider, Type, Type, String, TPrototypeCache)

Constructor for creating real instances of the metadata class based on a prototype.

protected CachedModelMetadata (System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider provider, Type containerType, Type modelType, string propertyName, TPrototypeCache prototypeCache);
new System.Web.Mvc.CachedModelMetadata<'PrototypeCache> : System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider * Type * Type * string * 'PrototypeCache -> System.Web.Mvc.CachedModelMetadata<'PrototypeCache>
Protected Sub New (provider As CachedDataAnnotationsModelMetadataProvider, containerType As Type, modelType As Type, propertyName As String, prototypeCache As TPrototypeCache)

Parameters

containerType
Type Type Type

The container type.

modelType
Type Type Type

The model type.

propertyName
String String String

The property name.

prototypeCache
TPrototypeCache TPrototypeCache TPrototypeCache

The prototype.

Applies to