Compartir a través de


ValidationVisitor.StateManager(ValidationVisitor, Object) Constructor

Definición

Inicialice un nuevo ValidationVisitor.StateManagerobjeto .

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)

Parámetros

visitor
ValidationVisitor

Visitante.

newModel
Object

Modelo que se va a validar.

Se aplica a