ValidationVisitor.StateManager.Recurse Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.