Compartir a través de


CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Método

Definición

Crea un prototipo de metadatos.

protected abstract TModelMetadata CreateMetadataPrototype (System.Collections.Generic.IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName);
abstract member CreateMetadataPrototype : seq<Attribute> * Type * Type * string -> 'ModelMetadata
Protected MustOverride Function CreateMetadataPrototype (attributes As IEnumerable(Of Attribute), containerType As Type, modelType As Type, propertyName As String) As TModelMetadata

Parámetros

attributes
IEnumerable<Attribute>

Atributos.

containerType
Type

Tipo de contenedor.

modelType
Type

Tipo de modelo.

propertyName
String

Nombre de la propiedad.

Devoluciones

TModelMetadata

Prototipo de metadatos.

Se aplica a