Partilhar via


ValidationVisitor.VisitChildren(IValidationStrategy) Método

Definição

Valide todos os nós filho usando a estratégia especificada.

protected:
 virtual bool VisitChildren(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ strategy);
protected virtual bool VisitChildren (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy strategy);
abstract member VisitChildren : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy -> bool
override this.VisitChildren : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy -> bool
Protected Overridable Function VisitChildren (strategy As IValidationStrategy) As Boolean

Parâmetros

strategy
IValidationStrategy

A estratégia de validação.

Retornos

true se todos os filhos forem válidos, caso contrário false, .

Aplica-se a