Udostępnij za pośrednictwem


RangeAttributeAdapter Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy RangeAttribute.

public RangeAttributeAdapter (System.Web.Mvc.ModelMetadata metadata, System.Web.Mvc.ControllerContext context, System.ComponentModel.DataAnnotations.RangeAttribute attribute);
new System.Web.Mvc.RangeAttributeAdapter : System.Web.Mvc.ModelMetadata * System.Web.Mvc.ControllerContext * System.ComponentModel.DataAnnotations.RangeAttribute -> System.Web.Mvc.RangeAttributeAdapter
Public Sub New (metadata As ModelMetadata, context As ControllerContext, attribute As RangeAttribute)

Parametry

metadata
ModelMetadata

Metadane modelu.

context
ControllerContext

Kontekst kontrolera.

attribute
RangeAttribute

Atrybut zakresu.

Dotyczy