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