Initializes a new instance of the CachedDataAnnotationsModelMetadata class.
Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
    prototype As CachedDataAnnotationsModelMetadata, _
    modelAccessor As Func(Of Object) _
)
'Usage
Dim prototype As CachedDataAnnotationsModelMetadata 
Dim modelAccessor As Func(Of Object)
Dim instance As New CachedDataAnnotationsModelMetadata(prototype, _
    modelAccessor)
public CachedDataAnnotationsModelMetadata(
    CachedDataAnnotationsModelMetadata prototype,
    Func<Object> modelAccessor
)
public:
CachedDataAnnotationsModelMetadata(
    CachedDataAnnotationsModelMetadata^ prototype, 
    Func<Object^>^ modelAccessor
)
new : 
        prototype:CachedDataAnnotationsModelMetadata * 
        modelAccessor:Func<Object> -> CachedDataAnnotationsModelMetadata
public function CachedDataAnnotationsModelMetadata(
    prototype : CachedDataAnnotationsModelMetadata, 
    modelAccessor : Func<Object>
)
Parameters
prototype
Type: System.Web.Http.Metadata.Providers.CachedDataAnnotationsModelMetadataThe prototype used to initialize the model metadata.
modelAccessor
Type: System.Func<Object>The model accessor.
See Also
Reference
CachedDataAnnotationsModelMetadata Class