1 instantiation of TreeRouter
Microsoft.AspNetCore.Routing (1)
Tree\TreeRouteBuilder.cs (1)
282
return new
TreeRouter
(
105 references to TreeRouter
Microsoft.AspNetCore.Mvc.Core (4)
Routing\AttributeRoute.cs (4)
21
private
TreeRouter
? _router;
40
var
router = GetTreeRouter();
47
var
router = GetTreeRouter();
51
private
TreeRouter
GetTreeRouter()
Microsoft.AspNetCore.Routing (21)
Tree\InboundMatch.cs (1)
14
/// A candidate route to match incoming URLs in a <see cref="
TreeRouter
"/>.
Tree\InboundRouteEntry.cs (1)
19
/// Used to build an <see cref="
TreeRouter
"/>. Represents a URL template tha will be used to match incoming
Tree\OutboundMatch.cs (1)
11
/// A candidate match for link generation in a <see cref="
TreeRouter
"/>.
Tree\OutboundRouteEntry.cs (1)
11
/// Used to build a <see cref="
TreeRouter
"/>. Represents a URL template that will be used to generate
Tree\TreeRouteBuilder.cs (11)
23
/// Builder for <see cref="
TreeRouter
"/> instances.
65
_logger = loggerFactory.CreateLogger<
TreeRouter
>();
71
/// Adds a new inbound route to the <see cref="
TreeRouter
"/>.
171
/// Adds a new outbound route to the <see cref="
TreeRouter
"/>.
245
/// Builds a <see cref="
TreeRouter
"/> with the <see cref="InboundEntries"/>
248
/// <returns>The <see cref="
TreeRouter
"/>.</returns>
250
public
TreeRouter
Build()
257
/// Builds a <see cref="
TreeRouter
"/> with the <see cref="InboundEntries"/>
260
/// <param name="version">The version of the <see cref="
TreeRouter
"/>.</param>
261
/// <returns>The <see cref="
TreeRouter
"/>.</returns>
263
public
TreeRouter
Build(int version)
Tree\TreeRouter.cs (1)
45
/// Creates a new instance of <see cref="
TreeRouter
"/>.
Tree\UrlMatchingNode.cs (4)
59
/// parameter segments with constraints following this segment in the <see cref="
TreeRouter
"/>.
65
/// parameter segments following this segment in the <see cref="
TreeRouter
"/>.
71
/// catch all parameter segments with constraints following this segment in the <see cref="
TreeRouter
"/>.
77
/// catch all parameter segments following this segment in the <see cref="
TreeRouter
"/>.
Tree\UrlMatchingTree.cs (1)
16
/// A tree part of a <see cref="
TreeRouter
"/>.
Microsoft.AspNetCore.Routing.Microbenchmarks (6)
LinkGeneration\LinkGenerationGithubBenchmark.cs (1)
14
private
TreeRouter
_treeRouter;
LinkGeneration\SingleRouteWithConstraintsBenchmark.cs (1)
13
private
TreeRouter
_treeRouter;
LinkGeneration\SingleRouteWithNoParametersBenchmark.cs (1)
13
private
TreeRouter
_treeRouter;
LinkGeneration\SingleRouteWithParametersBenchmark.cs (1)
13
private
TreeRouter
_treeRouter;
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcher.cs (2)
12
private readonly
TreeRouter
_inner;
14
internal TreeRouterMatcher(
TreeRouter
inner)
Microsoft.AspNetCore.Routing.Tests (74)
Matching\TreeRouterMatcher.cs (2)
12
private readonly
TreeRouter
_inner;
14
internal TreeRouterMatcher(
TreeRouter
inner)
Tree\TreeRouteBuilderTest.cs (5)
82
var
tree = builder.Build();
114
var
tree = builder.Build();
158
var
tree = builder.Build();
190
var
tree = builder.Build();
222
var
tree = builder.Build();
Tree\TreeRouterTest.cs (67)
48
var
route = builder.Build();
109
var
route = builder.Build();
156
var
route = builder.Build();
208
var
route = builder.Build();
251
var
route = builder.Build();
277
var
route = builder.Build();
300
var
route = builder.Build();
321
var
route = builder.Build();
349
var
route = builder.Build();
386
var
route = builder.Build();
411
var
route = builder.Build();
438
var
route = builder.Build();
465
var
route = builder.Build();
486
var
route = builder.Build();
507
var
route = builder.Build();
532
var
route = builder.Build();
554
var
route = builder.Build();
576
var
route = builder.Build();
599
var
route = builder.Build();
630
var
route = builder.Build();
658
var
route = builder.Build();
684
var
route = builder.Build();
734
var
route = builder.Build();
779
var
route = builder.Build();
810
var
route = CreateTreeRouter(firstTemplate, secondTemplate);
832
var
route = CreateTreeRouter(firstTemplate, secondTemplate);
858
var
route = CreateTreeRouter(firstTemplate, secondTemplate);
890
var
route = CreateTreeRouter(firstTemplate, secondTemplate);
933
var
route = builder.Build();
965
var
route = builder.Build();
1016
var
route = builder.Build();
1046
var
route = builder.Build();
1076
var
route = builder.Build();
1098
var
route = builder.Build();
1134
var
route = builder.Build();
1161
var
route = builder.Build();
1190
var
route = builder.Build();
1219
var
route = builder.Build();
1240
var
route = builder.Build();
1260
var
route = builder.Build();
1280
var
route = builder.Build();
1297
var
route = builder.Build();
1317
var
route = builder.Build();
1337
var
route = builder.Build();
1360
var
route = builder.Build();
1382
var
route = builder.Build();
1403
var
route = builder.Build();
1423
var
route = builder.Build();
1441
var
route = builder.Build();
1461
var
route = builder.Build();
1483
var
route = builder.Build();
1508
var
route = builder.Build();
1533
var
route = builder.Build();
1558
var
route = builder.Build();
1585
var
route = builder.Build();
1681
var
route = builder.Build();
1701
var
route = builder.Build();
1721
var
route = builder.Build();
1755
var
route = builder.Build();
1792
var
route = builder.Build();
1836
var
route = builder.Build();
1882
var
route = builder.Build();
1905
var
route = builder.Build();
1927
var
route = builder.Build();
1949
var
route = builder.Build();
1971
var
route = builder.Build();
2083
private static
TreeRouter
CreateTreeRouter(