1 write to RawText
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Patterns\RoutePattern.cs (1)
54RawText = rawText;
17 references to RawText
Microsoft.AspNetCore.Components (13)
Routing\Router.cs (1)
274activityHandle = RecordDiagnostics(context.Handler.FullName, context.Entry.RoutePattern.RawText);
Routing\RouteTableFactory.cs (5)
29return result != 0 ? result : string.Compare(x.RoutePattern.RawText, y.RoutePattern.RawText, StringComparison.OrdinalIgnoreCase); 180if (string.Equals(parsed.RawText, template, StringComparison.OrdinalIgnoreCase)) 212var existingText = existing!.RoutePattern.RawText!.Trim('/'); 213var currentText = current.RoutePattern.RawText!.Trim('/');
src\Http\Routing\src\Patterns\RoutePattern.cs (1)
163return RawText ?? string.Join(SeparatorString, PathSegments.Select(s => s.DebuggerToString()));
src\Http\Routing\src\Tree\InboundMatch.cs (1)
42return TemplateMatcher?.RoutePattern?.RawText;
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
113var constraintBuilder = new RouteConstraintBuilder(_constraintResolver, routeTemplate.RawText);
src\Http\Routing\src\Tree\TreeRouter.cs (1)
256Log.RequestMatchedRoute(_logger, entry.RouteName, entry.RoutePattern.RawText);
src\Http\Routing\src\Tree\UrlMatchingNode.cs (1)
86return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.RoutePattern.RawText})"))}";
src\Http\Routing\src\Tree\UrlMatchingTree.cs (2)
241return result == 0 ? string.Compare(x.Entry.RoutePattern.RawText, y.Entry.RoutePattern.RawText, StringComparison.Ordinal) : result;
Microsoft.AspNetCore.Components.Tests (4)
Routing\RouteTableFactoryTests.cs (4)
101Assert.Equal("Test1", Assert.Single(routes).RoutePattern.RawText); 119routes.OrderBy(r => r.RoutePattern.RawText), 120r => Assert.Equal("Test1", r.RoutePattern.RawText), 121r => Assert.Equal("Test2", r.RoutePattern.RawText));