Partilhar via


CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Método

Definição

Cria um protótipo de metadados.

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>

Os atributos.

containerType
Type

O tipo do contêiner.

modelType
Type

O tipo de modelo.

propertyName
String

O nome da propriedade.

Retornos

TModelMetadata

O protótipo de metadados.

Aplica-se a