4 writes to MaxValidationDepth
Microsoft.AspNetCore.Mvc.Core.Test (4)
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
25
var provider = CreateInvokerProvider(new MvcOptions() {
MaxValidationDepth
= 1, MaxModelBindingRecursionDepth = 2, MaxModelValidationErrors = 3 });
ModelBinding\Validation\DefaultObjectValidatorTests.cs (3)
1269
_options.
MaxValidationDepth
= maxDepth;
1289
_options.
MaxValidationDepth
= maxDepth;
1308
_options.
MaxValidationDepth
= maxDepth;
6 references to MaxValidationDepth
Microsoft.AspNetCore.Mvc.Core (6)
CompatibilityVersion.cs (1)
72
/// <item><description><see cref="MvcOptions.
MaxValidationDepth
" /></description></item>
Infrastructure\ControllerActionInvokerProvider.cs (1)
49
_maxValidationDepth = optionsAccessor.Value.
MaxValidationDepth
;
ModelBinding\Validation\DefaultObjectValidator.cs (1)
46
MaxValidationDepth = _mvcOptions.
MaxValidationDepth
,
ModelBinding\Validation\ValidationVisitor.cs (1)
311
message += " " + Resources.FormatValidationVisitor_ExceededMaxDepthFix(nameof(MvcOptions), nameof(MvcOptions.
MaxValidationDepth
));
MvcOptions.cs (1)
346
/// <value>The default value is <c>32</c>, matching the default <see cref="
MaxValidationDepth
"/> value.</value>
Routing\ControllerRequestDelegateFactory.cs (1)
51
_maxValidationDepth = optionsAccessor.Value.
MaxValidationDepth
;