aspnetcore/test
Doug Bunting 04453a2b4f Support user overrides of three more framework-provided `ModelState`-related messages
- #3215
- add new accessor properties to `IModelBindingMessageProvider` and plumb them through
  - use in `ModelStateDictionary` when handling a `FormatException` or `OverflowException`
  - use in `ValidationHelpers` when handling a `ModelError` with `null` `ErrorMessage`
- add new `ModelExplorer` parameter to `IHtmlGenerator.GenerateValidationMessage()`
  - plumb through to `ValidationHelpers.GetModelErrorMessageOrDefault()`

Started from work @kichalla did on the `kiran/movemessages-to-messageprovider` branch in #3775.

nits:
- use helper methods more consistently in `HtmlHelper<T>`; slightly improves error checking
- remove unused `Resources` class from `Microsoft.AspNet.Mvc`
- make `ValidationHelpers` class `public`; already in `.Internal` namespace
  - split `GetUserErrorMessageOrDefault()` in two; rename to `GetModelErrorMessageOrDefault()`
- fix some #YOLO wrapping
2016-01-20 21:14:33 -08:00
..
Microsoft.AspNet.Mvc.Abstractions.Test Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.ApiExplorer.Test
Microsoft.AspNet.Mvc.Core.Test Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.Cors.Test
Microsoft.AspNet.Mvc.DataAnnotations.Test Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.Formatters.Json.Test
Microsoft.AspNet.Mvc.Formatters.Xml.Test
Microsoft.AspNet.Mvc.FunctionalTests
Microsoft.AspNet.Mvc.IntegrationTests Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.Localization.Test
Microsoft.AspNet.Mvc.Razor.Host.Test
Microsoft.AspNet.Mvc.Razor.Test
Microsoft.AspNet.Mvc.TagHelpers.Test Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.Test
Microsoft.AspNet.Mvc.TestCommon Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.TestDiagnosticListener.Sources
Microsoft.AspNet.Mvc.ViewFeatures.Test Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest [Fixes #3683] Replace implementations in MediaTypeComparisons and 2016-01-12 15:09:48 -08:00
WebSites