MinLengthAttributeAdapter Конструктор

Определение

Инициализирует новый экземпляр класса MinLengthAttributeAdapter.

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

Параметры

metadata
ModelMetadata

Указывает контейнер метаданных для модели.

context
ModelBindingExecutionContext

Указывает контейнер для всех внешних данных по отношению к системе привязки модели.

attribute
MinLengthAttribute

Задает определяемый свойством максимально допустимый размер массива или длину строки.

Применяется к