2 writes to MaxModelValidationErrors
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
25
var provider = CreateInvokerProvider(new MvcOptions() { MaxValidationDepth = 1, MaxModelBindingRecursionDepth = 2,
MaxModelValidationErrors
= 3 });
MvcOptionsTest.cs (1)
15
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => options.
MaxModelValidationErrors
= -1);
2 references to MaxModelValidationErrors
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvokerProvider.cs (1)
48
_maxModelValidationErrors = optionsAccessor.Value.
MaxModelValidationErrors
;
Routing\ControllerRequestDelegateFactory.cs (1)
50
_maxModelValidationErrors = optionsAccessor.Value.
MaxModelValidationErrors
;