CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Method (IEnumerable<Attribute>, Type, Type, String)
Creates a metadata prototype.
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: