CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建元数据原型。
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
元数据原型。