4 references to StartsWithSegments
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
265
return
StartsWithSegments
(other, StringComparison.OrdinalIgnoreCase, out remaining);
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
PathStringTests.cs (2)
235
var result = source.
StartsWithSegments
(test, comparison, out var remaining);
256
var result = source.
StartsWithSegments
(test, comparison, out var remaining);
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefixCollection.cs (1)
96
&& originalPathString.
StartsWithSegments
(new PathString(prefix.PathWithoutTrailingSlash), StringComparison.OrdinalIgnoreCase, out var remainder)