1 write to RawText
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePattern.cs (1)
51RawText = rawText;
14 references to RawText
Microsoft.AspNetCore.Components (14)
Routing\Router.cs (1)
269activityHandle = 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\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternDebugStringFormatter.cs (2)
16if (pattern.RawText is { Length: > 0 } rawText && !HasMatchingRequiredValues(pattern)) 33if (pattern.RawText is { Length: > 0 } rt && rt[0] == Separator)
src\aspnetcore\src\Http\Routing\src\Tree\InboundMatch.cs (1)
42return TemplateMatcher?.RoutePattern?.RawText;
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
113var constraintBuilder = new RouteConstraintBuilder(_constraintResolver, routeTemplate.RawText);
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouter.cs (1)
256Log.RequestMatchedRoute(_logger, entry.RouteName, entry.RoutePattern.RawText);
src\aspnetcore\src\Http\Routing\src\Tree\UrlMatchingNode.cs (1)
86return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.RoutePattern.RawText})"))}";
src\aspnetcore\src\Http\Routing\src\Tree\UrlMatchingTree.cs (2)
241return result == 0 ? string.Compare(x.Entry.RoutePattern.RawText, y.Entry.RoutePattern.RawText, StringComparison.Ordinal) : result;