aspnetcore/test/WebSites/ModelBindingWebSite/Controllers
Doug Bunting c4fa402105 Add `ModelBindingResult.IsFatalError` and make body binding more consistent
- part I of II for #2445 (with a duplicate code PR to follow)
- needed for #2445 because new `ModelState` entries for values will make inconsisteny worse
- change `BodyModelBinder` to use same keys for all `ModelBindingResult`s and `ModelState` entries
 - return fatal error result if formatter adds an error to `ModelState`
 - update potential callers to avoid avoid ignoring `IsFatalError`
- fix test attempting to serialize all of `ModelState`
 - will be borked with additional `RawValue`s in state
- fix two other tests that serialized `ModelState` but checked only `IsValid`

nits:
- address minor inconsistencies in `ModelBindingContext`
- use `System.Reflection.Extensions` package a bit more, where it's already referenced
- remove some unused resources
2015-06-18 16:19:01 -07:00
..
BindAttributeController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
BindingBehaviorController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CompositeTestController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
DataMemberRequiredController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FileUploadController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FormCollectionController.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
FromAttributesController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromBodyControllerPropertyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromFormAttribute_CompanyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromHeader_BlogController.cs Fix for #2414 - Remove [DefaultValue] support from ModelBinding 2015-05-13 20:03:23 -07:00
FromQueryAttribute_CompanyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromRouteAttribute_CompanyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromServices_CalculatorController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
HomeController.cs `ByteArrayModelBinder` should return `null` only when type is not matched 2015-06-01 12:20:17 -07:00
ModelBinderAttribute_CompanyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBinderAttribute_ProductController.cs Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
ModelMetadataController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MultiplePropertiesFromBodyController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Person_CollectionBinderController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
PropertiesGetCreatedController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RoundtripController.cs Fix #448: Support app-wide defaults for HTML helpers 2015-05-12 14:10:59 -07:00
TryUpdateModelController.cs React to Http namespace changes. 2015-05-07 15:19:10 -07:00
ValidationController.cs Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
VehicleController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
WithBinderMetadataController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
WithoutBinderMetadataController.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00