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
中繼資料原型。