CachedDataAnnotationsModelMetadata Constructor (CachedDataAnnotationsModelMetadata, Func(Object))

Initializes a new instance of the CachedDataAnnotationsModelMetadata class using the prototype and model accessor.

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

new : 
        prototype:CachedDataAnnotationsModelMetadata * 
        modelAccessor:Func<Object> -> CachedDataAnnotationsModelMetadata

Parameters

prototype
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata

The prototype.

modelAccessor
Type: System.Func(Object)

The model accessor.

Show: