82 instantiations of QueryCollection
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (22)
UnaryServerCallHandlerTests.cs (22)
205httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 243httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 290httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 340httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 390httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 440httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 490httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 524httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 552httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 583httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 619httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 650httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 676httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 703httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1325httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1492httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1520httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1603httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1620httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1664httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1759httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1793httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
Microsoft.AspNetCore.Http (1)
QueryCollection.cs (1)
21public static readonly QueryCollection Empty = new QueryCollection();
Microsoft.AspNetCore.Http.Connections.Tests (18)
HttpConnectionDispatcherTests.cs (18)
231var qs = new QueryCollection(values); 311var qs = new QueryCollection(values); 353var qs = new QueryCollection(values); 391var qs = new QueryCollection(values); 430var qs = new QueryCollection(values); 470var qs = new QueryCollection(values); 533var qs = new QueryCollection(values); 601var qs = new QueryCollection(values); 664var qs = new QueryCollection(values); 769var qs = new QueryCollection(values); 910var qs = new QueryCollection(values); 1845var qs = new QueryCollection(values); 1897var qs = new QueryCollection(values); 2573var qs = new QueryCollection(values); 2633var qs = new QueryCollection(values); 2690var qs = new QueryCollection(values); 3702var qs = new QueryCollection(values); 3743var qs = new QueryCollection(values);
Microsoft.AspNetCore.Http.Extensions.Tests (30)
RequestDelegateFactoryTests.cs (13)
251httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 582httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 604httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 628httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 753httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>() 1777httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1807httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1837httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1865httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 1905httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 2160httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 2197httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 3107httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
RequestDelegateGenerator\RequestDelegateCreationTests.Arrays.cs (2)
172httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 760httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (1)
60var query = new QueryCollection(new Dictionary<string, StringValues>()
RequestDelegateGenerator\RequestDelegateCreationTests.cs (6)
431httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 457httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 504httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 529httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 554httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 584httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (5)
62httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 141httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 183httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 299httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 340httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (1)
186httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>()
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (1)
54httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
RequestDelegateGenerator\RequestDelegateCreationTests.TryParse.cs (1)
278httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
Microsoft.AspNetCore.Http.Tests (2)
Internal\DefaultHttpRequestTests.cs (1)
152var query2 = new QueryCollection(new Dictionary<string, StringValues>()
QueryCollectionTests.cs (1)
13IQueryCollection query = new QueryCollection(new Dictionary<string, StringValues>());
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\CompositeValueProviderTest.cs (1)
40var emptyValueProvider = new QueryStringValueProvider(bindingSource, new QueryCollection(), culture);
ModelBinding\DefaultModelBindingContextTest.cs (1)
175new QueryCollection(),
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (1)
117context.Request.Query = new QueryCollection(queryStringValues);
ModelBinding\QueryStringValueProviderFactoryTest.cs (1)
36context.Request.Query = new QueryCollection(queryValues);
ModelBinding\QueryStringValueProviderTest.cs (1)
17var backingStore = new QueryCollection(values);
Microsoft.AspNetCore.Routing.Tests (4)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
249httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (3)
160httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues> 198httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>() 580httpContext.Request.Query = new QueryCollection(new Dictionary<string, StringValues>
44 references to QueryCollection
Microsoft.AspNetCore.Http (22)
Features\QueryFeature.cs (2)
56return _parsedValues ?? QueryCollection.Empty; 68: QueryCollection.Empty;
QueryCollection.cs (13)
19/// Gets an empty <see cref="QueryCollection"/>. 21public static readonly QueryCollection Empty = new QueryCollection(); 30/// Initializes a new instance of <see cref="QueryCollection"/>. 37/// Initializes a new instance of <see cref="QueryCollection"/>. 48/// <param name="store">The <see cref="QueryCollection"/> to clone.</param> 49public QueryCollection(QueryCollection store) 55/// Initializes a new instance of <see cref="QueryCollection"/>. 86/// Gets the number of elements contained in the <see cref="QueryCollection" />;. 88/// <returns>The number of elements contained in the <see cref="QueryCollection" />.</returns> 117/// Determines whether the <see cref="QueryCollection" /> contains a specific key. 120/// <returns>true if the <see cref="QueryCollection" /> contains a specific key; otherwise, false.</returns> 135/// <returns>true if the <see cref="QueryCollection" /> contains the key; otherwise, false.</returns> 189/// Enumerates a <see cref="QueryCollection"/>.
QueryCollectionInternal.cs (7)
22/// Initializes a new instance of <see cref="QueryCollection"/>. 38/// Gets the number of elements contained in the <see cref="QueryCollection" />;. 40/// <returns>The number of elements contained in the <see cref="QueryCollection" />.</returns> 49/// Determines whether the <see cref="QueryCollection" /> contains a specific key. 52/// <returns>true if the <see cref="QueryCollection" /> contains a specific key; otherwise, false.</returns> 60/// <returns>true if the <see cref="QueryCollection" /> contains the key; otherwise, false.</returns> 83/// Enumerates a <see cref="QueryCollection"/>.
Microsoft.AspNetCore.Http.Connections.Tests (18)
HttpConnectionDispatcherTests.cs (18)
231var qs = new QueryCollection(values); 311var qs = new QueryCollection(values); 353var qs = new QueryCollection(values); 391var qs = new QueryCollection(values); 430var qs = new QueryCollection(values); 470var qs = new QueryCollection(values); 533var qs = new QueryCollection(values); 601var qs = new QueryCollection(values); 664var qs = new QueryCollection(values); 769var qs = new QueryCollection(values); 910var qs = new QueryCollection(values); 1845var qs = new QueryCollection(values); 1897var qs = new QueryCollection(values); 2573var qs = new QueryCollection(values); 2633var qs = new QueryCollection(values); 2690var qs = new QueryCollection(values); 3702var qs = new QueryCollection(values); 3743var qs = new QueryCollection(values);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (1)
60var query = new QueryCollection(new Dictionary<string, StringValues>()
Microsoft.AspNetCore.Http.Tests (2)
Internal\DefaultHttpRequestTests.cs (1)
152var query2 = new QueryCollection(new Dictionary<string, StringValues>()
QueryCollectionTests.cs (1)
20Assert.Same(Array.Empty<string>(), (string[])QueryCollection.Empty["query1"]);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\QueryStringValueProviderTest.cs (1)
17var backingStore = new QueryCollection(values);