Share via


ValidationVisitor.StateManager.Recurse Method

Definition

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.

Applies to