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: virtual CachedDataAnnotationsModelMetadata^ CreateMetadataFromPrototype( CachedDataAnnotationsModelMetadata^ prototype, Func<Object^>^ modelAccessor ) override
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: