CachedModelMetadata<TPrototypeCache> Constructor (CachedModelMetadata<TPrototypeCache>, Func<Object>)
Initializes a new instance of the CachedModelMetadata<TPrototypeCache> class.
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Sub New ( _
prototype As CachedModelMetadata(Of TPrototypeCache), _
modelAccessor As Func(Of Object) _
)
'Usage
Dim prototype As CachedModelMetadata(Of TPrototypeCache)
Dim modelAccessor As Func(Of Object)
Dim instance As New CachedModelMetadata(prototype, _
modelAccessor)
protected CachedModelMetadata(
CachedModelMetadata<TPrototypeCache> prototype,
Func<Object> modelAccessor
)
protected:
CachedModelMetadata(
CachedModelMetadata<TPrototypeCache>^ prototype,
Func<Object^>^ modelAccessor
)
new :
prototype:CachedModelMetadata<'TPrototypeCache> *
modelAccessor:Func<Object> -> CachedModelMetadata
protected function CachedModelMetadata(
prototype : CachedModelMetadata<TPrototypeCache>,
modelAccessor : Func<Object>
)
Parameters
prototype
Type: System.Web.Http.Metadata.Providers.CachedModelMetadata<TPrototypeCache>The prototype.
modelAccessor
Type: System.Func<Object>The model accessor.
See Also
Reference
CachedModelMetadata<TPrototypeCache> Class