1 instantiation of TreeRouter
Microsoft.AspNetCore.Routing (1)
Tree\TreeRouteBuilder.cs (1)
282return new TreeRouter(
105 references to TreeRouter
Microsoft.AspNetCore.Mvc.Core (4)
Routing\AttributeRoute.cs (4)
21private TreeRouter? _router; 40var router = GetTreeRouter(); 47var router = GetTreeRouter(); 51private 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> 250public 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> 263public 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)
14private TreeRouter _treeRouter;
LinkGeneration\SingleRouteWithConstraintsBenchmark.cs (1)
13private TreeRouter _treeRouter;
LinkGeneration\SingleRouteWithNoParametersBenchmark.cs (1)
13private TreeRouter _treeRouter;
LinkGeneration\SingleRouteWithParametersBenchmark.cs (1)
13private TreeRouter _treeRouter;
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcher.cs (2)
12private readonly TreeRouter _inner; 14internal TreeRouterMatcher(TreeRouter inner)
Microsoft.AspNetCore.Routing.Tests (74)
Matching\TreeRouterMatcher.cs (2)
12private readonly TreeRouter _inner; 14internal TreeRouterMatcher(TreeRouter inner)
Tree\TreeRouteBuilderTest.cs (5)
82var tree = builder.Build(); 114var tree = builder.Build(); 158var tree = builder.Build(); 190var tree = builder.Build(); 222var tree = builder.Build();
Tree\TreeRouterTest.cs (67)
48var route = builder.Build(); 109var route = builder.Build(); 156var route = builder.Build(); 208var route = builder.Build(); 251var route = builder.Build(); 277var route = builder.Build(); 300var route = builder.Build(); 321var route = builder.Build(); 349var route = builder.Build(); 386var route = builder.Build(); 411var route = builder.Build(); 438var route = builder.Build(); 465var route = builder.Build(); 486var route = builder.Build(); 507var route = builder.Build(); 532var route = builder.Build(); 554var route = builder.Build(); 576var route = builder.Build(); 599var route = builder.Build(); 630var route = builder.Build(); 658var route = builder.Build(); 684var route = builder.Build(); 734var route = builder.Build(); 779var route = builder.Build(); 810var route = CreateTreeRouter(firstTemplate, secondTemplate); 832var route = CreateTreeRouter(firstTemplate, secondTemplate); 858var route = CreateTreeRouter(firstTemplate, secondTemplate); 890var route = CreateTreeRouter(firstTemplate, secondTemplate); 933var route = builder.Build(); 965var route = builder.Build(); 1016var route = builder.Build(); 1046var route = builder.Build(); 1076var route = builder.Build(); 1098var route = builder.Build(); 1134var route = builder.Build(); 1161var route = builder.Build(); 1190var route = builder.Build(); 1219var route = builder.Build(); 1240var route = builder.Build(); 1260var route = builder.Build(); 1280var route = builder.Build(); 1297var route = builder.Build(); 1317var route = builder.Build(); 1337var route = builder.Build(); 1360var route = builder.Build(); 1382var route = builder.Build(); 1403var route = builder.Build(); 1423var route = builder.Build(); 1441var route = builder.Build(); 1461var route = builder.Build(); 1483var route = builder.Build(); 1508var route = builder.Build(); 1533var route = builder.Build(); 1558var route = builder.Build(); 1585var route = builder.Build(); 1681var route = builder.Build(); 1701var route = builder.Build(); 1721var route = builder.Build(); 1755var route = builder.Build(); 1792var route = builder.Build(); 1836var route = builder.Build(); 1882var route = builder.Build(); 1905var route = builder.Build(); 1927var route = builder.Build(); 1949var route = builder.Build(); 1971var route = builder.Build(); 2083private static TreeRouter CreateTreeRouter(