Freigeben über


CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Methode

Definition

Erstellt einen Metadatenprototyp.

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

Parameter

attributes
IEnumerable<Attribute>

Die Attribute.

containerType
Type

Der Containertyp.

modelType
Type

Der Modelltyp.

propertyName
String

Der Eigenschaftenname.

Gibt zurück

TModelMetadata

Ein Metadatenprototyp.

Gilt für: