Udostępnij za pośrednictwem


CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Metoda

Definicja

Zwraca prototypowe wystąpienia kontenera klasy metadanych.

protected override System.Web.Mvc.CachedDataAnnotationsModelMetadata CreateMetadataPrototype (System.Collections.Generic.IEnumerable<Attribute> attributes, Type containerType, Type modelType, string propertyName);
override this.CreateMetadataPrototype : seq<Attribute> * Type * Type * string -> System.Web.Mvc.CachedDataAnnotationsModelMetadata
Protected Overrides Function CreateMetadataPrototype (attributes As IEnumerable(Of Attribute), containerType As Type, modelType As Type, propertyName As String) As CachedDataAnnotationsModelMetadata

Parametry

attributes
IEnumerable<Attribute>

Typ atrybutów.

containerType
Type

Typ kontenera.

modelType
Type

Typ modelu.

propertyName
String

Nazwa właściwości.

Zwraca

prototypowe wystąpienia kontenera klasy metadanych.

Dotyczy