Export (0) Print
Expand All

CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataFromPrototype Method

Creates prototype metadata by applying the prototype and model access to yield the final metadata.

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

protected abstract TModelMetadata CreateMetadataFromPrototype(
	TModelMetadata prototype,
	Func<Object> modelAccessor
)

Parameters

prototype
Type: TModelMetadata
The prototype.
modelAccessor
Type: System.Func<Object>
The model accessor.

Return Value

Type: TModelMetadata
The prototype metadata.
Show:
© 2015 Microsoft