52 instantiations of QueryCollection
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (22)
UnaryServerCallHandlerTests.cs (22)
206
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
244
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
291
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
341
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
391
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
441
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
491
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
525
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
553
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
584
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
620
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
651
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
677
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
704
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1326
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1493
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1521
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1604
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1621
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1665
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1760
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
1794
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
Microsoft.AspNetCore.Http (1)
QueryCollection.cs (1)
21
public static readonly QueryCollection Empty = new
QueryCollection
();
Microsoft.AspNetCore.Http.Connections.Tests (18)
HttpConnectionDispatcherTests.cs (18)
231
var qs = new
QueryCollection
(values);
311
var qs = new
QueryCollection
(values);
353
var qs = new
QueryCollection
(values);
391
var qs = new
QueryCollection
(values);
430
var qs = new
QueryCollection
(values);
470
var qs = new
QueryCollection
(values);
533
var qs = new
QueryCollection
(values);
601
var qs = new
QueryCollection
(values);
664
var qs = new
QueryCollection
(values);
769
var qs = new
QueryCollection
(values);
910
var qs = new
QueryCollection
(values);
1845
var qs = new
QueryCollection
(values);
1897
var qs = new
QueryCollection
(values);
2573
var qs = new
QueryCollection
(values);
2633
var qs = new
QueryCollection
(values);
2690
var qs = new
QueryCollection
(values);
3706
var qs = new
QueryCollection
(values);
3747
var qs = new
QueryCollection
(values);
Microsoft.AspNetCore.Http.Tests (2)
Internal\DefaultHttpRequestTests.cs (1)
152
var query2 = new
QueryCollection
(new Dictionary<string, StringValues>()
QueryCollectionTests.cs (1)
13
IQueryCollection query = new
QueryCollection
(new Dictionary<string, StringValues>());
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\CompositeValueProviderTest.cs (1)
40
var emptyValueProvider = new QueryStringValueProvider(bindingSource, new
QueryCollection
(), culture);
ModelBinding\DefaultModelBindingContextTest.cs (1)
175
new
QueryCollection
(),
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (1)
117
context.Request.Query = new
QueryCollection
(queryStringValues);
ModelBinding\QueryStringValueProviderFactoryTest.cs (1)
36
context.Request.Query = new
QueryCollection
(queryValues);
ModelBinding\QueryStringValueProviderTest.cs (1)
17
var backingStore = new
QueryCollection
(values);
Microsoft.AspNetCore.Routing.Tests (4)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
249
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (3)
160
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
198
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>()
580
httpContext.Request.Query = new
QueryCollection
(new Dictionary<string, StringValues>
43 references to QueryCollection
Microsoft.AspNetCore.Http (22)
Features\QueryFeature.cs (2)
56
return _parsedValues ??
QueryCollection
.Empty;
68
:
QueryCollection
.Empty;
QueryCollection.cs (13)
19
/// Gets an empty <see cref="
QueryCollection
"/>.
21
public 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>
49
public 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)
231
var
qs = new QueryCollection(values);
311
var
qs = new QueryCollection(values);
353
var
qs = new QueryCollection(values);
391
var
qs = new QueryCollection(values);
430
var
qs = new QueryCollection(values);
470
var
qs = new QueryCollection(values);
533
var
qs = new QueryCollection(values);
601
var
qs = new QueryCollection(values);
664
var
qs = new QueryCollection(values);
769
var
qs = new QueryCollection(values);
910
var
qs = new QueryCollection(values);
1845
var
qs = new QueryCollection(values);
1897
var
qs = new QueryCollection(values);
2573
var
qs = new QueryCollection(values);
2633
var
qs = new QueryCollection(values);
2690
var
qs = new QueryCollection(values);
3706
var
qs = new QueryCollection(values);
3747
var
qs = new QueryCollection(values);
Microsoft.AspNetCore.Http.Tests (2)
Internal\DefaultHttpRequestTests.cs (1)
152
var
query2 = new QueryCollection(new Dictionary<string, StringValues>()
QueryCollectionTests.cs (1)
20
Assert.Same(Array.Empty<string>(), (string[])
QueryCollection
.Empty["query1"]);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\QueryStringValueProviderTest.cs (1)
17
var
backingStore = new QueryCollection(values);