77 references to Create
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
469
var accessDeniedUri = Options.AccessDeniedPath + QueryString.
Create
(Options.ReturnUrlParameter, returnUrl);
483
var loginUri = Options.LoginPath + QueryString.
Create
(Options.ReturnUrlParameter, redirectUri);
Microsoft.AspNetCore.Http.Abstractions (1)
QueryString.cs (1)
201
return
Create
(name, value);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
QueryStringTests.cs (1)
59
var query = QueryString.
Create
(name, value!);
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\CompileTimeCreationTests.cs (2)
410
httpContext.Request.QueryString = QueryString.
Create
("value", endpoint.DisplayName);
525
httpContext.Request.QueryString = httpContext.Request.QueryString.Add(QueryString.
Create
(value, value));
Microsoft.AspNetCore.Mvc.IntegrationTests (69)
ActionParametersIntegrationTest.cs (19)
46
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
92
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
139
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
187
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
227
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
271
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
318
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
363
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
399
request.QueryString = QueryString.
Create
("Name", "James").Add("Property1.City", "Seattle");
432
request.QueryString = QueryString.
Create
("Name", "James");
460
request.QueryString = QueryString.
Create
("Name", "James").Add("Property1.City", "Seattle");
552
request.QueryString = QueryString.
Create
("Name", "James");
585
request.QueryString = QueryString.
Create
("Name", "James").Add("Age", "29");
644
request.QueryString = QueryString.
Create
(parameter.Name, "123");
677
request.QueryString = QueryString.
Create
(nameof(ModelWithIValidatableObject.FirstName), "TestName");
721
request.QueryString = QueryString.
Create
(parameter.Name, input.Value.ToString(CultureInfo.InvariantCulture));
774
request.QueryString = QueryString.
Create
(parameter.Name, input);
817
request.QueryString = QueryString.
Create
(nameof(ModelWithIValidatableObject.FirstName), "Billy");
862
request.QueryString = QueryString.
Create
(key, "Billy");
BindingSourceMetadataProviderIntegrationTest.cs (1)
92
request.QueryString = QueryString.
Create
("Name", "Fred");
ByteArrayModelBinderIntegrationTest.cs (2)
40
request.QueryString = QueryString.
Create
(queryStringKey, value);
123
request.QueryString = QueryString.
Create
("CustomParameter", value);
FormCollectionModelBindingIntegrationTest.cs (1)
42
request.QueryString = QueryString.
Create
("Address.Zip", "12345");
FormFileModelBindingIntegrationTest.cs (8)
42
request.QueryString = QueryString.
Create
("Address.Zip", "12345");
199
request.QueryString = QueryString.
Create
("Person.Address.Zip", "98056");
286
request.QueryString = QueryString.
Create
("fleet.Garage.Name", "WestEnd");
351
request.QueryString = QueryString.
Create
("fleet.Garage.Name", "WestEnd");
417
request.QueryString = QueryString.
Create
("GroupName", "TestGroup");
711
request.QueryString = QueryString.
Create
("p.Name", "Accord");
770
request.QueryString = QueryString.
Create
("house.Garage.Cars[0].Name", "Accord");
998
request.QueryString = QueryString.
Create
("p.Name", "Accord");
SimpleTypeModelBinderIntegrationTest.cs (12)
36
request.QueryString = QueryString.
Create
("CustomParameter.Address.Zip", "1");
80
request.QueryString = QueryString.
Create
("Address.Zip", "1");
125
request.QueryString = QueryString.
Create
("Parameter1", "someValue");
202
request.QueryString = QueryString.
Create
("Parameter1", "32,000.99");
246
request.QueryString = QueryString.
Create
("Parameter1", "2020-02-01");
375
request.QueryString = QueryString.
Create
("Parameter1", "abcd");
427
request.QueryString = QueryString.
Create
("Parameter1", "abcd");
485
request.QueryString = QueryString.
Create
("Parameter1", "");
530
request.QueryString = QueryString.
Create
("Parameter1", string.Empty);
582
request.QueryString = QueryString.
Create
("Parameter1", string.Empty);
719
request.QueryString = QueryString.
Create
("Parameter1", "someValue");
763
request.QueryString = QueryString.
Create
("Parameter1", "someValue");
TryUpdateModelIntegrationTest.cs (26)
26
request.QueryString = QueryString.
Create
("Street", "SomeStreet");
66
request.QueryString = QueryString.
Create
("Street", "SomeStreet");
165
request.QueryString = QueryString.
Create
("Address.Street", "SomeStreet");
215
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
251
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
302
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
358
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
387
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
421
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
457
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
510
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
551
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
598
request.QueryString = QueryString.
Create
("Address[0].Street", "SomeStreet");
633
request.QueryString = QueryString.
Create
("prefix.Street", "SomeStreet");
673
request.QueryString = QueryString.
Create
("prefix.Street", "SomeStreet");
765
request.QueryString = QueryString.
Create
("prefix.Address.Street", "SomeStreet");
810
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
846
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
887
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
938
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
974
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
1022
request.QueryString = QueryString.
Create
("prefix.Address[0].Street", "SomeStreet");
1103
request.QueryString = QueryString.
Create
("Street", "SomeStreet");
1148
request.QueryString = QueryString.
Create
("Street", "SomeStreet");
1175
request.QueryString = QueryString.
Create
("Address.ZipCode", "98007").Add("Address.Street", "SomeStreet");
1221
request.QueryString = QueryString.
Create
("Address.ZipCode", "98007").Add("Address.Street", "SomeStreet");
MyFrontend (2)
Services\CatalogServiceClient.cs (2)
13
(int b, null) => QueryString.
Create
("before", b.ToString(CultureInfo.InvariantCulture)),
14
(null, int a) => QueryString.
Create
("after", a.ToString(CultureInfo.InvariantCulture)),