11 references to Subsegment
Microsoft.AspNetCore.Http.Abstractions (4)
HostString.cs (4)
263
var allowedRoot = pattern.
Subsegment
(1);
265
var hostRoot = host.
Subsegment
(host.Length - allowedRoot.Length);
358
port = value.
Subsegment
(index + 2);
373
port = value.
Subsegment
(index + 1);
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ViewEnginePath.cs (1)
54
pathSegment = pathSegment.
Subsegment
(1);
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
604
return
Subsegment
(i);
Microsoft.Net.Http.Headers (5)
MediaTypeHeaderValue.cs (4)
263
return _mediaType.
Subsegment
(_mediaType.IndexOf(ForwardSlashCharacter) + 1);
312
return subType.
Subsegment
(startOfSuffix + 1);
717
var subType = mediaType.
Subsegment
(mediaType.IndexOf(ForwardSlashCharacter) + 1);
727
suffix = subType.
Subsegment
(startOfSuffix + 1);
RangeConditionHeaderValue.cs (1)
177
if (!HttpRuleParser.TryStringToDate(input.
Subsegment
(current), out date))