3 writes to MaxAllowedErrors
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateDictionary.cs (1)
60
MaxAllowedErrors
= maxAllowedErrors;
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvokerProvider.cs (1)
77
controllerContext.ModelState.
MaxAllowedErrors
= _maxModelValidationErrors;
Routing\ControllerRequestDelegateFactory.cs (1)
94
controllerContext.ModelState.
MaxAllowedErrors
= _maxModelValidationErrors;
9 references to MaxAllowedErrors
Microsoft.AspNetCore.Mvc.Abstractions (9)
ModelBinding\ModelStateDictionary.cs (9)
26
/// The default value for <see cref="
MaxAllowedErrors
"/> of <c>200</c>.
76
: this(dictionary?.
MaxAllowedErrors
?? DefaultMaxAllowedErrors,
128
public bool HasReachedMaxErrors => ErrorCount >=
MaxAllowedErrors
;
205
/// See <see cref="
MaxAllowedErrors
"/>.
219
if (ErrorCount >=
MaxAllowedErrors
- 1)
260
/// See <see cref="
MaxAllowedErrors
"/>.
268
if (ErrorCount >=
MaxAllowedErrors
- 1)
342
/// See <see cref="
MaxAllowedErrors
"/>.
349
if (ErrorCount >=
MaxAllowedErrors
- 1)