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 |
||
|---|---|---|
| .. | ||
| BindAttributeController.cs | ||
| CompositeTestController.cs | ||
| FileUploadController.cs | ||
| FromAttributesController.cs | ||
| FromHeader_BlogController.cs | ||
| FromServices_CalculatorController.cs | ||
| HomeController.cs | ||
| ModelBinderAttribute_CompanyController.cs | ||
| ModelBinderAttribute_ProductController.cs | ||
| PropertiesGetCreatedController.cs | ||
| RoundtripController.cs | ||
| TryUpdateModelController.cs | ||
| VehicleController.cs | ||
| WithBinderMetadataController.cs | ||
| WithoutBinderMetadataController.cs | ||