Aracılığıyla paylaş


CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Yöntem

Tanım

Meta veri sınıfının kapsayıcı prototip örneklerini döndürür.

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

Parametreler

attributes
IEnumerable<Attribute>

Öznitelik türü.

containerType
Type

Kapsayıcı türü.

modelType
Type

Model türü.

propertyName
String

Özellik adı.

Döndürülenler

meta veri sınıfının kapsayıcı prototip örnekleri.

Şunlara uygulanır