Export (0) Print
Expand All

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)

public CachedDataAnnotationsModelMetadata(
	CachedDataAnnotationsModelMetadata prototype,
	Func<Object> modelAccessor
)

Parameters

prototype
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadata

The prototype.

modelAccessor
Type: System.Func<Object>

The model accessor.

Show:
© 2014 Microsoft