ValidationVisitor.VisitChildren(IValidationStrategy) 方法

定义

使用指定的策略验证所有子节点。

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

参数

strategy
IValidationStrategy

验证策略。

返回

Boolean

true 如果所有子均有效,则为 ;否则为 false

适用于