Condividi tramite


CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Metodo

Definizione

Crea un prototipo dei metadati.

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

Parametri

attributes
IEnumerable<Attribute>

Attributi.

containerType
Type

Tipo di contenitore.

modelType
Type

Tipo di modello.

propertyName
String

Nome della proprietà.

Restituisce

TModelMetadata

Prototipo dei metadati.

Si applica a