47 references to StringSegment
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Http.Abstractions (2)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (9)
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (5)
107type = new StringSegment(input, current, typeLength);
136subType = new StringSegment(input, current, subtypeLength);
544name = new StringSegment(input, current, nameLength);
573value = new StringSegment(input, current + 1, valueLength - 2);
577value = new StringSegment(input, current, valueLength);
Microsoft.AspNetCore.Mvc.TagHelpers (3)
Microsoft.AspNetCore.Routing (8)
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (5)
107type = new StringSegment(input, current, typeLength);
136subType = new StringSegment(input, current, subtypeLength);
544name = new StringSegment(input, current, nameLength);
573value = new StringSegment(input, current + 1, valueLength - 2);
577value = new StringSegment(input, current, valueLength);
Microsoft.AspNetCore.Routing.Tests (18)
PathTokenizerTest.cs (18)
19{ "//", new StringSegment[] { new StringSegment("//", 1, 0) } },
24new StringSegment("///", 1, 0),
25new StringSegment("///", 2, 0),
32new StringSegment("////", 1, 0),
33new StringSegment("////", 2, 0),
34new StringSegment("////", 3, 0),
37{ "/zero", new StringSegment[] { new StringSegment("/zero", 1, 4) } },
38{ "/zero/", new StringSegment[] { new StringSegment("/zero/", 1, 4) } },
43new StringSegment("/zero/one", 1, 4),
44new StringSegment("/zero/one", 6, 3),
51new StringSegment("/zero/one/", 1, 4),
52new StringSegment("/zero/one/", 6, 3),
59new StringSegment("/zero/one/two", 1, 4),
60new StringSegment("/zero/one/two", 6, 3),
61new StringSegment("/zero/one/two", 10, 3),
68new StringSegment("/zero/one/two/", 1, 4),
69new StringSegment("/zero/one/two/", 6, 3),
70new StringSegment("/zero/one/two/", 10, 3),
Microsoft.Extensions.FileProviders.Embedded (1)
Microsoft.Extensions.Primitives (1)
Microsoft.Net.Http.Headers (1)