aspnetcore/test/Microsoft.AspNet.Mvc.TestCo...
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
..
CommonFilterTest.cs
HtmlContentUtilities.cs
MediaTypeAssert.cs Remove runtime dependency usage of MediaTypeHeaderValue. 2016-01-12 15:09:46 -08:00
Microsoft.AspNet.Mvc.TestCommon.xproj
PlatformNormalizer.cs
ResourceFile.cs
TestClientModelValidatorProvider.cs
TestFileChangeToken.cs Modify FileVersionProvider to cache missing file info. 2015-12-23 14:32:39 -08:00
TestFileInfo.cs
TestFileProvider.cs
TestHttpRequestStreamReaderFactory.cs
TestHttpResponseStreamWriterFactory.cs
TestModelMetadataProvider.cs Support user overrides of three more framework-provided `ModelState`-related messages 2016-01-20 21:14:33 -08:00
TestModelValidatorProvider.cs
TestOptionsManager.cs OptionsModel => Options rename 2015-12-21 15:00:31 -08:00
ValidationAttributeUtil.cs
project.json