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