CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Method (IEnumerable(Of Attribute), Type, Type, String)
Returns a container prototype instances of the metadata class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Protected Overrides Function CreateMetadataPrototype ( attributes As IEnumerable(Of Attribute), containerType As Type, modelType As Type, propertyName As String ) As CachedDataAnnotationsModelMetadata
Parameters
- attributes
-
Type:
System.Collections.Generic.IEnumerable(Of 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: