Compartir a través de


MinLengthAttributeAdapter Constructor

Definición

Inicia una nueva instancia de la clase MinLenghtAttribute.

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

Metadatos del modelo.

context
ControllerContext

Contexto del controlador.

attribute
MinLengthAttribute

Atributo de longitud mínima.

Se aplica a