18 instantiations of RouteData
Microsoft.AspNetCore.Components (2)
Routing\Router.cs (1)
230var routeData = new RouteData(
Routing\RouteTable.cs (1)
44return new RouteData(endpointRouteData.PageType, routeValueDictionary)
Microsoft.AspNetCore.Components.Authorization.Tests (11)
AuthorizeRouteViewTest.cs (11)
47var routeData = new RouteData(typeof(TestPageRequiringAuthorization), new Dictionary<string, object> 82var routeData = new RouteData(typeof(TestPageRequiringAuthorization), new Dictionary<string, object> 125var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 154var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 177var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 205var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 249var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 277var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 303var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 335var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 343var routeData2 = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.cs (1)
122routingStateProvider.RouteData = new RouteData(componentType, httpContext.GetRouteData().Values);
Microsoft.AspNetCore.Components.Tests (4)
RouteViewTest.cs (4)
52var routeData = new RouteData(typeof(ComponentWithLayout), routeParams); 100var routeData = new RouteData(typeof(ComponentWithoutLayout), routeParams); 124var routeData = new RouteData(typeof(ComponentWithoutLayout), routeParams); 147var routeData = new RouteData(typeof(ComponentWithLayout), routeParams);
27 references to RouteData
Microsoft.AspNetCore.Components (7)
RouteView.cs (1)
40public RouteData RouteData { get; set; }
Routing\IRoutingStateProvider.cs (1)
14public RouteData? RouteData { get; }
Routing\RouteData.cs (1)
16/// Constructs an instance of <see cref="RouteData"/>.
Routing\Router.cs (2)
78public RenderFragment<RouteData> Found { get; set; } 230var routeData = new RouteData(
Routing\RouteTable.cs (2)
22internal static RouteData ProcessParameters(RouteData endpointRouteData)
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeRouteView.cs (1)
127public RouteData RouteData { get; set; } = default!;
Microsoft.AspNetCore.Components.Authorization.Tests (13)
AuthorizeRouteViewTest.cs (13)
47var routeData = new RouteData(typeof(TestPageRequiringAuthorization), new Dictionary<string, object> 82var routeData = new RouteData(typeof(TestPageRequiringAuthorization), new Dictionary<string, object> 125var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 154var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 177var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 205var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 249var routeData = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 277var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 303var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 335var routeData = new RouteData(typeof(TestPageWithNoAuthorization), EmptyParametersDictionary); 343var routeData2 = new RouteData(typeof(TestPageRequiringAuthorization), EmptyParametersDictionary); 403private readonly RouteData _routeData; 407RouteData routeData)
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\EndpointRoutingStateProvider.cs (1)
10public RouteData? RouteData { get; internal set; }
Microsoft.AspNetCore.Components.Tests (4)
RouteViewTest.cs (4)
52var routeData = new RouteData(typeof(ComponentWithLayout), routeParams); 100var routeData = new RouteData(typeof(ComponentWithoutLayout), routeParams); 124var routeData = new RouteData(typeof(ComponentWithoutLayout), routeParams); 147var routeData = new RouteData(typeof(ComponentWithLayout), routeParams);
Microsoft.AspNetCore.Components.Web (1)
Routing\FocusOnNavigate.cs (1)
27[Parameter] public RouteData? RouteData { get; set; } // TODO: [EditorRequired]