10 references to RouteTable
Microsoft.AspNetCore.Components (8)
Routing\Router.cs (2)
98private RouteTable Routes { get; set; } 210endpointRouteData = RouteTable.ProcessParameters(endpointRouteData);
Routing\RouteTableFactory.cs (6)
32private readonly ConcurrentDictionary<RouteKey, RouteTable> _cache = new(); 34public RouteTable Create(RouteKey routeKey, IServiceProvider serviceProvider) 36if (_cache.TryGetValue(routeKey, out var resolvedComponents)) 42var routeTable = Create(componentTypes, serviceProvider); 86internal static RouteTable Create(List<Type> componentTypes, IServiceProvider serviceProvider) 116internal static RouteTable Create(Dictionary<Type, string[]> templatesByHandler, IServiceProvider serviceProvider)
Microsoft.AspNetCore.Components.Tests (2)
Routing\RouteTableFactoryTests.cs (2)
96var routeTable = RouteTableFactory.Create(new List<Type> { typeof(MyComponent), }, _serviceProvider); 113var routeTable = RouteTableFactory.Create(new List<Type> { typeof(MyComponent), typeof(MyInheritedComponent) }, _serviceProvider);