Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CachedDataAnnotationsModelMetadataProvider.CreateMetadataFromPrototype Method (CachedDataAnnotationsModelMetadata, Func<Object>)


Returns a container of real instances of the cached metadata class based on prototype and model accessor.

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

protected override CachedDataAnnotationsModelMetadata CreateMetadataFromPrototype(
	CachedDataAnnotationsModelMetadata prototype,
	Func<object> modelAccessor


Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata

The prototype.

Type: System.Func<Object>

The model accessor.

Return Value

Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata

A container of real instances of the cached metadata class.

Return to top
© 2015 Microsoft