ValidationVisitor.StateManager.Recurse Method
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.
Set up a state manager from a visitor.
public:
static Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor::StateManager Recurse(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor ^ visitor, System::String ^ key, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::Object ^ model, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ strategy);
public static Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager Recurse (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, string key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object model, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy strategy);
public static Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager Recurse (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, string key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, object? model, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy strategy);
static member Recurse : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor * string * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * obj * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager
Public Shared Function Recurse (visitor As ValidationVisitor, key As String, metadata As ModelMetadata, model As Object, strategy As IValidationStrategy) As ValidationVisitor.StateManager
Parameters
- visitor
- ValidationVisitor
The visitor.
- key
- String
The key.
- metadata
- ModelMetadata
The metadata.
- model
- Object
The model.
- strategy
- IValidationStrategy
The strategy.
Returns
A StateManager setup for recursion.