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)
29
ILogger<
Router
> _logger;
103
_logger = LoggerFactory.CreateLogger<
Router
>();
123
throw new InvalidOperationException($"The {nameof(
Router
)} component requires a value for the parameter {nameof(AppAssembly)}.");
131
throw new InvalidOperationException($"The {nameof(
Router
)} component requires a value for the parameter {nameof(Found)}.");
Microsoft.AspNetCore.Components.Tests (10)
Routing\RouterTest.cs (10)
15
private 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)
17
var mapping = new RootComponentMapping(typeof(
Router
), "test");