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