CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Method
Creates a metadata prototype.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected abstract TModelMetadata CreateMetadataPrototype( IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName )
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.
Show: