CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Method
Returns a container prototype instances of the metadata class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract CreateMetadataPrototype : attributes:IEnumerable<Attribute> * containerType:Type * modelType:Type * propertyName:string -> CachedDataAnnotationsModelMetadata override CreateMetadataPrototype : attributes:IEnumerable<Attribute> * containerType:Type * modelType:Type * propertyName:string -> CachedDataAnnotationsModelMetadata
Parameters
- attributes
- Type: System.Collections.Generic.IEnumerable(Attribute)
The attributes type.
- containerType
- Type: System.Type
The container type.
- modelType
- Type: System.Type
The model type.
- propertyName
- Type: System.String
The property name.
Return Value
Type: System.Web.Mvc.CachedDataAnnotationsModelMetadataa container prototype instances of the metadata class.
Show: