aspnetcore/test/WebSites/ModelBindingWebSite
Ryan Nowak 51e7812e7e Fix for #1722 - FromHeader does not respect default value
This change adds support for our three-valued logic to the default value
handling part of the MutableObjectModelBinder.

The issue is that we want to look up a default value when a 'greedy' model
binder returns true but doesn't find a value.

We also don't want to call the property setter unless there is:
1). A value from model binding OR
2). A default value
2015-01-16 17:59:00 -08:00
..
Controllers Fix for #1722 - FromHeader does not respect default value 2015-01-16 17:59:00 -08:00
Models File upload model binder 2015-01-15 13:41:14 -08:00
Services Adding additional functional tests for ModelBinding 2014-12-16 12:25:37 -08:00
ViewModels Adding additional functional tests for ModelBinding 2014-12-16 12:25:37 -08:00
Views/Vehicle Adding additional functional tests for ModelBinding 2014-12-16 12:25:37 -08:00
wwwroot Adding proper descriptions in readme.md files for functional tests. 2015-01-15 11:12:48 -08:00
CaculatorContext.cs Adding FromServicesAttribute. 2014-11-26 15:35:08 -08:00
DefaultCalculator.cs Adding FromServicesAttribute. 2014-11-26 15:35:08 -08:00
DefaultCalculatorContext.cs Adding FromServicesAttribute. 2014-11-26 15:35:08 -08:00
FromNonExistantBinderAttribute.cs
FromTestAttribute.cs
ICalculator.cs Adding FromServicesAttribute. 2014-11-26 15:35:08 -08:00
ITestService.cs Adding Support for TryUpdateModel using include expressions and predicate. 2014-12-05 17:28:43 -08:00
ModelBindingWebSite.kproj Adding servers and wwwroot folder to test websites 2014-12-10 14:16:11 -08:00
Startup.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
TestMetadataAwareBinder.cs
TestService.cs Adding Support for TryUpdateModel using include expressions and predicate. 2014-12-05 17:28:43 -08:00
project.json Adding servers and wwwroot folder to test websites 2014-12-10 14:16:11 -08:00