// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Globalization; using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; namespace Microsoft.AspNetCore.Mvc.ModelBinding { public class QueryStringValueProviderTest : EnumerableValueProviderTest { protected override IEnumerableValueProvider GetEnumerableValueProvider( BindingSource bindingSource, Dictionary values, CultureInfo culture) { var backingStore = new QueryCollection(values); return new QueryStringValueProvider(bindingSource, backingStore, culture); } } }