Export (0) Print
Expand All

CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Method

Returns a container prototype instances of the metadata class.

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

protected override CachedDataAnnotationsModelMetadata CreateMetadataPrototype(
	IEnumerable<Attribute> attributes,
	Type containerType,
	Type modelType,
	string propertyName
)

Parameters

attributes
Type: System.Collections.Generic.IEnumerable<Attribute>

The attributes type.

containerType
Type: System.Type

The container type.

modelType
Type: System.Type

The model type.

propertyName
Type: System.String

The property name.

Return Value

Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata
a container prototype instances of the metadata class.
Show:
© 2014 Microsoft