Partilhar via


MinLengthAttributeAdapter Construtor

Definição

Inicia uma nova instância da classe MinLengthAttribute.

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

Parâmetros

metadata
ModelMetadata

Os metadados do modelo.

context
ControllerContext

O contexto do controlador.

attribute
MinLengthAttribute

O atributo de comprimento mínimo.

Aplica-se a