CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a container prototype instances of the metadata class.
protected override System.Web.Mvc.CachedDataAnnotationsModelMetadata CreateMetadataPrototype (System.Collections.Generic.IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName);
override this.CreateMetadataPrototype : seq<Attribute> * Type * Type * string -> System.Web.Mvc.CachedDataAnnotationsModelMetadata
Protected Overrides Function CreateMetadataPrototype (attributes As IEnumerable(Of Attribute), containerType As Type, modelType As Type, propertyName As String) As CachedDataAnnotationsModelMetadata
Parameters
- attributes
- IEnumerable<Attribute>
The attributes type.
- containerType
- Type
The container type.
- modelType
- Type
The model type.
- propertyName
- String
The property name.
Returns
a container prototype instances of the metadata class.