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 Improving logging - model binding 2018-01-11 14:51:53 -08:00
ArrayModelBinderIntegrationTest.cs
AuthorizeFilterIntegrationTest.cs Add CombineAuthorizeFilters option 2018-01-08 11:59:30 -08:00
BindPropertyIntegrationTest.cs
BinderTypeBasedModelBinderIntegrationTest.cs
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs Move option for JSON errors to MvcJsonOptions 2018-01-07 21:48:58 -08:00
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 [Fixes #5859] Consider allowing binding header values to types other than string and string collections 2018-01-30 11:47:16 -08:00
JQueryFormatModelBindingIntegrationTest.cs Added JQueryQueryStringValueProviderFactory and JQueryQueryStringValueProvider 2018-03-12 16:40:04 -07:00
KeyValuePairModelBinderIntegrationTest.cs
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
ModelBindingTestContext.cs
ModelBindingTestHelper.cs [Fixes #7412] AspNetCore 2.1 breaks integration with 3rd party validation libraries 2018-03-13 02:07:56 -07:00
ModelPrefixSelectionIntegrationTest.cs
ParameterBinderExtensions.cs
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs
SimpleTypeModelBinderIntegrationTest.cs
TestMvcOptions.cs
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs
ValidationIntegrationTests.cs