1 write to MaxValidationDepth
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\DefaultObjectValidator.cs (1)
46MaxValidationDepth = _mvcOptions.MaxValidationDepth,
4 references to MaxValidationDepth
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Validation\ValidationVisitor.cs (4)
294if (MaxValidationDepth != null && _currentPath.Count > MaxValidationDepth) 302message = Resources.FormatValidationVisitor_ExceededMaxPropertyDepth(nameof(ValidationVisitor), MaxValidationDepth, metadata.Name, metadata.ContainerType); 307message = Resources.FormatValidationVisitor_ExceededMaxDepth(nameof(ValidationVisitor), MaxValidationDepth, metadata.ModelType);