8 references to ToBaseRelativePath
Aspire.Dashboard (4)
Components\Controls\SummaryDetailsView.razor.cs (2)
325var viewKey = ViewKey ?? NavigationManager.ToBaseRelativePath(NavigationManager.Uri); 331var viewKey = ViewKey ?? NavigationManager.ToBaseRelativePath(NavigationManager.Uri);
Components\Pages\IPageWithSessionAndUrlState.cs (1)
103if (string.Equals(page.BasePath, page.NavigationManager.ToBaseRelativePath(page.NavigationManager.Uri)))
Components_Layout_MobileNavMenu_razor.g.cs (1)
291var isActive = item.LinkMatchRegex is not null && item.LinkMatchRegex.IsMatch($"/{NavigationManager.ToBaseRelativePath(NavigationManager.Uri)}");
Microsoft.AspNetCore.Components (2)
Routing\Router.cs (2)
177await RunOnNavigateAsync(NavigationManager.ToBaseRelativePath(_locationAbsolute), isNavigationIntercepted: false); 388_ = RunOnNavigateAsync(NavigationManager.ToBaseRelativePath(_locationAbsolute), args.IsNavigationIntercepted).Preserve();
Microsoft.AspNetCore.Components.Tests (2)
NavigationManagerTest.cs (2)
47var actualResult = navigationManager.ToBaseRelativePath(uri); 79navigationManager.ToBaseRelativePath(absoluteUri);