1 instantiation of TreeRouteBuilder
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
64return new TreeRouteBuilder(loggerFactory, objectPool, constraintResolver);
111 references to TreeRouteBuilder
Microsoft.AspNetCore.Mvc.Core (3)
Routing\AttributeRoute.cs (3)
59var builder = _services.GetRequiredService<TreeRouteBuilder>(); 68internal void AddEntries(TreeRouteBuilder builder, ActionDescriptorCollection actions)
Microsoft.AspNetCore.Mvc.Core.Test (15)
Routing\AttributeRouteTest.cs (15)
134var builder = CreateBuilder(); 178var builder = CreateBuilder(); 222var builder = CreateBuilder(); 283var builder = CreateBuilder(); 337var builder = CreateBuilder(); 380var builder = CreateBuilder(); 423var builder = CreateBuilder(); 485var builder = CreateBuilder(); 527var builder = CreateBuilder(); 574var builder = CreateBuilder(); 630var builder = CreateBuilder(); 686var builder = CreateBuilder(); 742var builder = CreateBuilder(); 764private static TreeRouteBuilder CreateBuilder() 772return services.GetRequiredService<TreeRouteBuilder>();
Microsoft.AspNetCore.Routing (5)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
59services.TryAdd(ServiceDescriptor.Transient<TreeRouteBuilder>(s =>
Tree\TreeRouteBuilder.cs (4)
40/// Initializes a new instance of <see cref="TreeRouteBuilder"/>. 246/// and <see cref="OutboundEntries"/> defined in this <see cref="TreeRouteBuilder"/>. 258/// and <see cref="OutboundEntries"/> defined in this <see cref="TreeRouteBuilder"/>. 302/// <see cref="TreeRouteBuilder"/>.
Microsoft.AspNetCore.Routing.Microbenchmarks (10)
EndpointRoutingBenchmarkBase.cs (1)
135protected void CreateOutboundRouteEntry(TreeRouteBuilder treeRouteBuilder, RouteEndpoint endpoint)
LinkGeneration\LinkGenerationGithubBenchmark.cs (2)
27var treeRouteBuilder = services.GetRequiredService<TreeRouteBuilder>();
LinkGeneration\SingleRouteWithConstraintsBenchmark.cs (2)
30var treeRouteBuilder = services.GetRequiredService<TreeRouteBuilder>();
LinkGeneration\SingleRouteWithNoParametersBenchmark.cs (2)
30var treeRouteBuilder = services.GetRequiredService<TreeRouteBuilder>();
LinkGeneration\SingleRouteWithParametersBenchmark.cs (2)
30var treeRouteBuilder = services.GetRequiredService<TreeRouteBuilder>();
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
34var builder = new TreeRouteBuilder(
Microsoft.AspNetCore.Routing.Tests (78)
Matching\TreeRouterMatcherBuilder.cs (1)
34var builder = new TreeRouteBuilder(
Tree\TreeRouteBuilderTest.cs (9)
20var builder = CreateBuilder(); 49var builder = CreateBuilder(); 73var builder = CreateBuilder(); 105var builder = CreateBuilder(); 149var builder = CreateBuilder(); 181var builder = CreateBuilder(); 213var builder = CreateBuilder(); 241private static TreeRouteBuilder CreateBuilder() 248var builder = new TreeRouteBuilder(
Tree\TreeRouterTest.cs (68)
41var builder = CreateBuilder(); 100var builder = CreateBuilder(); 147var builder = CreateBuilder(); 199var builder = CreateBuilder(); 242var builder = CreateBuilder(); 273var builder = CreateBuilder(); 296var builder = CreateBuilder(); 317var builder = CreateBuilder(); 340var builder = CreateBuilder(); 378var builder = CreateBuilder(); 407var builder = CreateBuilder(); 434var builder = CreateBuilder(); 461var builder = CreateBuilder(); 482var builder = CreateBuilder(); 503var builder = CreateBuilder(); 530var builder = CreateBuilder(); 552var builder = CreateBuilder(); 574var builder = CreateBuilder(); 597var builder = CreateBuilder(); 623var builder = CreateBuilder(); 651var builder = CreateBuilder(); 682var builder = CreateBuilder(); 732var builder = CreateBuilder(); 777var builder = CreateBuilder(); 926var builder = CreateBuilder(); 963var builder = CreateBuilder(); 1008var builder = CreateBuilder(); 1039var builder = CreateBuilder(); 1069var builder = CreateBuilder(); 1094var builder = CreateBuilder(); 1114var builder = CreateBuilder(); 1127var builder = CreateBuilder(); 1152var builder = CreateBuilder(); 1181var builder = CreateBuilder(); 1210var builder = CreateBuilder(); 1238var builder = CreateBuilder(); 1258var builder = CreateBuilder(); 1278var builder = CreateBuilder(); 1295var builder = CreateBuilder(); 1315var builder = CreateBuilder(); 1335var builder = CreateBuilder(); 1355var builder = CreateBuilder(); 1380var builder = CreateBuilder(); 1400var builder = CreateBuilder(); 1421var builder = CreateBuilder(); 1439var builder = CreateBuilder(); 1459var builder = CreateBuilder(); 1479var builder = CreateBuilder(); 1501var builder = CreateBuilder(); 1526var builder = CreateBuilder(); 1551var builder = CreateBuilder(); 1578var builder = CreateBuilder(); 1679var builder = CreateBuilder(); 1699var builder = CreateBuilder(); 1719var builder = CreateBuilder(); 1753var builder = CreateBuilder(); 1790var builder = CreateBuilder(); 1834var builder = CreateBuilder(); 1879var builder = CreateBuilder(); 1900var builder = CreateBuilder(); 1922var builder = CreateBuilder(); 1944var builder = CreateBuilder(); 1966var builder = CreateBuilder(); 2015TreeRouteBuilder builder, 2033TreeRouteBuilder builder, 2069private static TreeRouteBuilder CreateBuilder() 2076var builder = new TreeRouteBuilder( 2087var builder = CreateBuilder();