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

元数据原型。

适用于