共用方式為


CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype 方法

定義

建立中繼資料原型。

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

參數

attributes
IEnumerable<Attribute>

屬性。

containerType
Type

容器型別。

modelType
Type

模型型別。

propertyName
String

屬性名稱。

傳回

TModelMetadata

中繼資料原型。

適用於