Share via


CachedDataAnnotationsModelMetadata Constructor (CachedDataAnnotationsModelMetadata, Func<Object>)

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

See Also

Reference

CachedDataAnnotationsModelMetadata Class

CachedDataAnnotationsModelMetadata Overload

System.Web.Http.Metadata.Providers Namespace