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 |
||
|---|---|---|
| .. | ||
| Controllers | ||
| Models | ||
| Services | ||
| ViewModels | ||
| Views/Vehicle | ||
| wwwroot | ||
| CaculatorContext.cs | ||
| DefaultCalculator.cs | ||
| DefaultCalculatorContext.cs | ||
| FromNonExistantBinderAttribute.cs | ||
| FromTestAttribute.cs | ||
| ICalculator.cs | ||
| ITestService.cs | ||
| ModelBindingWebSite.kproj | ||
| Startup.cs | ||
| TestMetadataAwareBinder.cs | ||
| TestService.cs | ||
| project.json | ||