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 |
||
|---|---|---|
| .. | ||
| ArrayModelBinderTest.cs | ||
| BinderTypeBasedModelBinderModelBinderTest.cs | ||
| ByteArrayModelBinderTests.cs | ||
| CancellationTokenModelBinderTests.cs | ||
| CollectionModelBinderTest.cs | ||
| ComplexModelDtoResultTest.cs | ||
| ComplexModelDtoTest.cs | ||
| CompositeModelBinderTest.cs | ||
| DictionaryModelBinderTest.cs | ||
| FormFileModelBinderTest.cs | ||
| KeyValuePairModelBinderTest.cs | ||
| ModelBindingContextTest.cs | ||
| MutableObjectModelBinderTest.cs | ||
| TypeConverterModelBinderTest.cs | ||