5 references to StartsWithSegments
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (1)
42
builder.MapWhen(ctx => ctx.Request.Path.
StartsWithSegments
(pathPrefix, out var rest) && rest.StartsWithSegments("/_framework") &&
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Builder\HealthCheckApplicationBuilderExtensions.cs (1)
225
(c.Request.Path.
StartsWithSegments
(path, out var remaining) &&
Microsoft.AspNetCore.StaticFiles (1)
Helpers.cs (1)
58
if (path.
StartsWithSegments
(matchUrl, out subpath))
Microsoft.AspNetCore.TestHost (2)
ClientHandler.cs (1)
182
if (req.Path.
StartsWithSegments
(_pathBase, out var remainder))
WebSocketClient.cs (1)
73
if (request.Path.
StartsWithSegments
(_pathBase, out var remainder))