3 writes to MaxAllowedErrors
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateDictionary.cs (1)
60MaxAllowedErrors = maxAllowedErrors;
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvokerProvider.cs (1)
77controllerContext.ModelState.MaxAllowedErrors = _maxModelValidationErrors;
Routing\ControllerRequestDelegateFactory.cs (1)
94controllerContext.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, 128public bool HasReachedMaxErrors => ErrorCount >= MaxAllowedErrors; 205/// See <see cref="MaxAllowedErrors"/>. 219if (ErrorCount >= MaxAllowedErrors - 1) 260/// See <see cref="MaxAllowedErrors"/>. 268if (ErrorCount >= MaxAllowedErrors - 1) 342/// See <see cref="MaxAllowedErrors"/>. 349if (ErrorCount >= MaxAllowedErrors - 1)