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