Поделиться через


ValidationVisitor.StateManager.Recurse Метод

Определение

Настройка диспетчера состояний от посетителя.

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

Параметры

visitor
ValidationVisitor

Посетитель.

key
String

Ключ.

metadata
ModelMetadata

Метаданные.

model
Object

Модель.

strategy
IValidationStrategy

Стратегия.

Возвращаемое значение

Настройка StateManager для рекурсии.

Применяется к