aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
Doug Bunting 390ebbb258
Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature
- #7091
- add `IKeyRewriterValueProvider` to remove rewritten keys or value providers containing such keys
  - similar to `IBindingSourceValueProvider` except `CompositeValueProvider` keeps non-implementers around
- remove `after.Order == before.Order` special cases
  - a premature optimization that could lead to lost inner provider replacements
  - rework `EnumerableValueProviderTest` to ease test override in `CompositeValueProviderTest`
- add `EmptyValueProvider` fields to reduce `CompositeValueProvider` allocations

nits:
- remove Linq use in `CompositeValueProvider`
- do not create an unnecessary dictionary in `CompositeValueProvider.Filter(...)` methods
- accept VS suggestions, mostly pattern matching
2018-03-19 12:53:05 -07:00
..
Models
ActionParametersIntegrationTest.cs
ArrayModelBinderIntegrationTest.cs
AuthorizeFilterIntegrationTest.cs
BindPropertyIntegrationTest.cs
BinderTypeBasedModelBinderIntegrationTest.cs
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs
ByteArrayModelBinderIntegrationTest.cs
CancellationTokenModelBinderIntegrationTest.cs
CollectionModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
CompanyNameAttribute.cs
ComplexTypeModelBinderIntegrationTest.cs
DictionaryModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
ExcludeBindingMetadataProviderIntegrationTest.cs
FormCollectionModelBindingIntegrationTest.cs
FormFileModelBindingIntegrationTest.cs
GenericModelBinderIntegrationTest.cs
HeaderModelBinderIntegrationTest.cs
JQueryFormatModelBindingIntegrationTest.cs
KeyValuePairModelBinderIntegrationTest.cs
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
ModelBindingTestContext.cs
ModelBindingTestHelper.cs
ModelPrefixSelectionIntegrationTest.cs
ParameterBinderExtensions.cs
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs
SimpleTypeModelBinderIntegrationTest.cs
TestMvcOptions.cs
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs
ValidationIntegrationTests.cs