6 references to NavigationManager
Aspire.Dashboard (6)
Components\Layout\DesktopNavMenu.razor.cs (6)
76
NavigationManager
.LocationChanged += OnLocationChanged;
78
_activeSection = GetSection(
NavigationManager
.ToBaseRelativePath(
NavigationManager
.Uri), DashboardClient.IsEnabled);
98
_activeSection = GetSection(
NavigationManager
.ToBaseRelativePath(e.Location), DashboardClient.IsEnabled);
141
yield return new NavItem(NavSection.Resources, GetSelectionPageUrl(
NavigationManager
, ResourceTab.Overview), Loc[nameof(Resources.Layout.NavMenuResourcesTab)], ResourcesIcon(), ResourcesIcon(active: true));
198
NavigationManager
.LocationChanged -= OnLocationChanged;