Sdílet prostřednictvím


CachedDataAnnotationsModelMetadataProvider.CreateMetadataPrototype Metoda

Definice

Vrátí instance prototypu kontejneru třídy metadat.

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 atributů.

containerType
Type

Typ kontejneru.

modelType
Type

Typ modelu.

propertyName
String

Název vlastnosti

Návraty

instance prototypu kontejneru třídy metadat.

Platí pro