41 references to FragmentString
Microsoft.AspNetCore.Http.Abstractions (3)
FragmentString.cs (3)
17public static readonly FragmentString Empty = new FragmentString(string.Empty); 86return new FragmentString(uriComponent); 103return new FragmentString(fragmentValue);
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
FragmentStringTests.cs (2)
23var fragmentString = new FragmentString("#col=1"); 33var fragmentString = new FragmentString("#col=1");
PathStringTests.cs (1)
101var fragment = new FragmentString("#frag");
Microsoft.AspNetCore.Http.Extensions.Tests (5)
UriHelperTests.cs (5)
20new QueryString("?name=val%23ue"), new FragmentString("#my%20value")); 37new QueryString("?name=val%23ue"), new FragmentString("#my%20value")); 78new FragmentString(fragment)); 146Assert.Equal(fragment, new FragmentString(expectedFragment)); 156var fragment = new FragmentString("#col=1");
Microsoft.AspNetCore.Http.Results (1)
RedirectToRouteHttpResult.cs (1)
167fragment: Fragment == null ? FragmentString.Empty : new FragmentString("#" + Fragment));
Microsoft.AspNetCore.Mvc.Core (2)
Routing\EndpointRoutingUrlHelper.cs (2)
72fragment: urlActionContext.Fragment == null ? FragmentString.Empty : new FragmentString("#" + urlActionContext.Fragment)); 85fragment: routeContext.Fragment == null ? FragmentString.Empty : new FragmentString("#" + routeContext.Fragment));
Microsoft.AspNetCore.Mvc.Core.Test (10)
Routing\ControllerLinkGeneratorExtensionsTest.cs (5)
65fragment: new FragmentString("#Fragment?"), 93new FragmentString("#Fragment?"), 124fragment: new FragmentString("#Fragment?"), 154new FragmentString("#Fragment?"), 185fragment: new FragmentString("#Fragment?"),
Routing\PageLinkGeneratorExtensionsTest.cs (5)
36fragment: new FragmentString("#Fragment?"), 64new FragmentString("#Fragment?"), 94fragment: new FragmentString("#Fragment?"), 124new FragmentString("#Fragment?"), 155fragment: new FragmentString("#Fragment?"),
Microsoft.AspNetCore.Routing.Tests (15)
DefaultLinkGeneratorTest.cs (4)
301new FragmentString("#Fragment?")); 374fragment: new FragmentString("#Fragment?")); 397new FragmentString("#Fragment?")); 423fragment: new FragmentString("#Fragment?"));
LinkGeneratorEndpointNameExtensionsTest.cs (5)
37fragment: new FragmentString("#Fragment?"), 60new FragmentString("#Fragment?"), 86fragment: new FragmentString("#Fragment?"), 111new FragmentString("#Fragment?"), 139fragment: new FragmentString("#Fragment?"),
LinkGeneratorRouteValuesAddressExtensionsTest.cs (6)
41fragment: new FragmentString("#Fragment?"), 68new FragmentString("#Fragment?"), 98fragment: new FragmentString("#Fragment?"), 127new FragmentString("#Fragment?"), 159fragment: new FragmentString("#Fragment?"), 191fragment: new FragmentString("#Fragment?"),
Mvc.RoutingWebSite (2)
Controllers\LG1Controller.cs (2)
85fragment: new FragmentString("#hi")); 104fragment: new FragmentString("#hi"));