CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadataPrototype Method

Definition

Creates a metadata prototype.

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

Parameters

attributes
IEnumerable<Attribute>

The attributes.

containerType
Type

The container type.

modelType
Type

The model type.

propertyName
String

The property name.

Returns

TModelMetadata

A metadata prototype.

Applies to