Поделиться через


ValidationVisitor.StateManager(ValidationVisitor, Object) Конструктор

Определение

Инициализируйте новый ValidationVisitor.StateManagerобъект .

public:
 StateManager(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor ^ visitor, System::Object ^ newModel);
public StateManager (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, object newModel);
public StateManager (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, object? newModel);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager
Public Sub New (visitor As ValidationVisitor, newModel As Object)

Параметры

visitor
ValidationVisitor

Посетитель.

newModel
Object

Проверяемая модель.

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