CachedDataAnnotationsModelMetadataProvider.CreateMetadataFromPrototype Method
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 function CreateMetadataFromPrototype( prototype : CachedDataAnnotationsModelMetadata, modelAccessor : Func<Object> ) : CachedDataAnnotationsModelMetadata
Parameters
- prototype
- Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata
The prototype.
- modelAccessor
- Type: System.Func(Object)
The model accessor.
Return Value
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadataA container of real instances of the cached metadata class.
Show: