Export (0) Print
Expand All

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

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

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

protected CachedModelMetadata(
	CachedDataAnnotationsModelMetadataProvider provider,
	Type containerType,
	Type modelType,
	string propertyName,
	TPrototypeCache prototypeCache
)

Parameters

provider
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadataProvider

The provider.

containerType
Type: System.Type

The container type.

modelType
Type: System.Type

The model type.

propertyName
Type: System.String

The property name.

prototypeCache
Type: TPrototypeCache

The prototype.

Show:
© 2014 Microsoft