- #1418 - add new fallback binding in `DictionaryModelBinder` - similar to MVC 5 approach but more explicit and with better key conversion support - fix bugs in `PrefixContainer` encountered while adding new tests of #1418 scenarios - did not handle entries like "[key]" or "prefix.key[index]" correctly - refactor part of `GetKeyFromEmptyPrefix()` into `IndexOfDelimiter()`; share with `GetKeyFromNonEmptyPrefix()` - extend `ReadableStringCollectionValueProviderTest` to cover bracketed key segments nits: - remove use of "foo", "bar", and "baz" in affected test classes - `""` -> `string.Empty` - `vpResult` -> `result` |
||
|---|---|---|
| .. | ||
| Metadata | ||
| Validation | ||
| ArrayModelBinderTest.cs | ||
| BinderTypeBasedModelBinderModelBinderTest.cs | ||
| BindingSourceModelBinderTest.cs | ||
| BindingSourceValueProviderTest.cs | ||
| BodyModelBinderTests.cs | ||
| ByteArrayModelBinderTests.cs | ||
| CancellationTokenModelBinderTests.cs | ||
| CollectionModelBinderTest.cs | ||
| ComplexModelDtoTest.cs | ||
| CompositeModelBinderTest.cs | ||
| CompositeValueProviderTests.cs | ||
| DictionaryBasedValueProviderTests.cs | ||
| DictionaryModelBinderTest.cs | ||
| ElementalValueProviderTests.cs | ||
| FormCollectionModelBinderTest.cs | ||
| FormFileModelBinderTest.cs | ||
| FormValueProviderFactoryTests.cs | ||
| HeaderModelBinderTests.cs | ||
| KeyValuePairModelBinderTest.cs | ||
| ModelBindingContextTest.cs | ||
| ModelBindingResultTest.cs | ||
| MutableObjectModelBinderTest.cs | ||
| QueryStringValueProviderFactoryTest.cs | ||
| ReadableStringCollectionValueProviderTest.cs | ||
| SimpleHttpValueProvider.cs | ||
| TestValueProvider.cs | ||
| TypeConverterModelBinderTest.cs | ||
| TypeMatchModelBinderTest.cs | ||