Поделиться через


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

Прототип метаданных.

Применяется к