31 references to LocationChanged
Aspire.Dashboard (8)
Components\Layout\DashboardDialogProvider.cs (2)
28NavigationManager.LocationChanged += OnLocationChanged; 51NavigationManager.LocationChanged -= OnLocationChanged;
Components\Layout\DesktopNavMenu.razor.cs (2)
76NavigationManager.LocationChanged += OnLocationChanged; 198NavigationManager.LocationChanged -= OnLocationChanged;
Components\Legacy\Layout\LegacyDesktopNavMenu.razor.cs (2)
50NavigationManager.LocationChanged += OnLocationChanged; 74NavigationManager.LocationChanged -= OnLocationChanged;
Components\Pages\Resources.razor.cs (2)
216NavigationManager.LocationChanged += OnLocationChanged; 1177NavigationManager.LocationChanged -= OnLocationChanged;
Aspire.Dashboard.Components.Tests (7)
Layout\MainLayoutTests.cs (1)
535Services.GetRequiredService<NavigationManager>().LocationChanged += (_, _) => navigationOccurred = true;
Pages\ConsoleLogsTests.cs (1)
141navigationManager.LocationChanged += (sender, e) =>
Pages\MetricsTests.cs (1)
937navigationManager.LocationChanged += (s, a) =>
Pages\TerminalsTests.cs (4)
158navigation.LocationChanged += (_, _) => restored.TrySetResult(); 186navigation.LocationChanged += (_, _) => redirected.TrySetResult(); 609navigation.LocationChanged += onRedirect; 619navigation.LocationChanged -= onRedirect;
Microsoft.AspNetCore.Components (10)
LocationChangeException.cs (1)
7/// An exception thrown when <see cref="NavigationManager.LocationChanged"/> throws an exception.
NavigationManager.cs (4)
70/// Setting <see cref="BaseUri" /> will not trigger the <see cref="LocationChanged" /> event. 94/// Setting <see cref="Uri" /> will not trigger the <see cref="LocationChanged" /> event. 114/// Setting <see cref="HistoryEntryState" /> will not trigger the <see cref="LocationChanged" /> event. 388/// Triggers the <see cref="LocationChanged"/> event with the current URI value.
Routing\LocationChangedEventArgs.cs (1)
7/// <see cref="EventArgs" /> for <see cref="NavigationManager.LocationChanged" />.
Routing\Router.cs (2)
110NavigationManager.LocationChanged += OnLocationChanged; 180NavigationManager.LocationChanged -= OnLocationChanged;
Routing\SupplyParameterFromQueryValueProvider.cs (2)
97navigationManager.LocationChanged += OnLocationChanged; 108navigationManager.LocationChanged -= OnLocationChanged;
Microsoft.AspNetCore.Components.QuickGrid (4)
Pagination\Paginator.razor.cs (2)
69NavigationManager.LocationChanged += OnLocationChanged; 115NavigationManager.LocationChanged -= OnLocationChanged;
QuickGrid.razor.cs (2)
259NavigationManager.LocationChanged += OnLocationChanged; 661NavigationManager.LocationChanged -= OnLocationChanged;
Microsoft.AspNetCore.Components.Web (2)
Routing\NavLink.cs (2)
71NavigationManager.LocationChanged += OnLocationChanged; 108NavigationManager.LocationChanged -= OnLocationChanged;