17 references to Router
Microsoft.AspNetCore.Components (5)
Routing\ExcludeFromInteractiveRoutingAttribute.cs (1)
9/// When applied to a page component, indicates that the interactive <see cref="Router"/> component should
Routing\Router.cs (4)
29ILogger<Router> _logger; 103_logger = LoggerFactory.CreateLogger<Router>(); 123throw new InvalidOperationException($"The {nameof(Router)} component requires a value for the parameter {nameof(AppAssembly)}."); 131throw new InvalidOperationException($"The {nameof(Router)} component requires a value for the parameter {nameof(Found)}.");
Microsoft.AspNetCore.Components.Tests (10)
Routing\RouterTest.cs (10)
15private readonly Router _router; 31_router = (Router)_renderer.InstantiateComponent<Router>(); 188{ nameof(Router.AppAssembly), typeof(RouterTest).Assembly }, 189{ nameof(Router.NotFound), (RenderFragment)(builder => { }) }, 208{ nameof(Router.AppAssembly), typeof(RouterTest).Assembly }, 209{ nameof(Router.NotFound), (RenderFragment)(builder => { }) }, 234{ nameof(Router.AppAssembly), typeof(RouterTest).Assembly }, 235{ nameof(Router.NotFound), (RenderFragment)(builder => builder.AddContent(0, "Custom content")) }, 255{ nameof(Router.AppAssembly), typeof(RouterTest).Assembly }
Microsoft.AspNetCore.Components.Web (1)
Routing\FocusOnNavigate.cs (1)
25/// <see cref="Router"/> component.
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\RootComponentMappingTest.cs (1)
17var mapping = new RootComponentMapping(typeof(Router), "test");