ValidationVisitor.StateManager(ValidationVisitor, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize a new 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)
Parameters
- visitor
- ValidationVisitor
The visitor.
- newModel
- Object
The model to validate.