CachedModelMetadata<TPrototypeCache> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CachedModelMetadata<TPrototypeCache>(CachedModelMetadata<TPrototypeCache>, Func<Object>) |
Constructor for creating the prototype instances of the metadata class. |
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>)
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
- prototype
- CachedModelMetadata<TPrototypeCache>
The prototype.
Applies to
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
The provider.
- containerType
- Type
The container type.
- modelType
- Type
The model type.
- propertyName
- String
The property name.
- prototypeCache
- TPrototypeCache
The prototype.