Partager via


ValidationVisitor.StateManager.Recurse Méthode

Définition

Configurez un gestionnaire d’état à partir d’un visiteur.

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

Paramètres

visitor
ValidationVisitor

Visiteur.

key
String

Clé.

metadata
ModelMetadata

Métadonnées.

model
Object

Modèle.

strategy
IValidationStrategy

Stratégie.

Retours

Configuration de StateManager pour la récursivité.

S’applique à