CachedAssociatedMetadataProvider(TModelMetadata).CreateMetadataPrototype Method

Creates a metadata prototype.

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

protected abstract function CreateMetadataPrototype(
	attributes : IEnumerable<Attribute>, 
	containerType : Type, 
	modelType : Type, 
	propertyName : String
) : TModelMetadata

Parameters

attributes
Type: System.Collections.Generic.IEnumerable(Attribute)
The attributes.
containerType
Type: System.Type
The container type.
modelType
Type: System.Type
The model type.
propertyName
Type: System.String
The property name.

Return Value

Type: TModelMetadata
A metadata prototype.
Show: