7 references to ToBaseRelativePath
Aspire.Dashboard (3)
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)
95
if (string.Equals(page.BasePath, page.NavigationManager.
ToBaseRelativePath
(page.NavigationManager.Uri)))
Microsoft.AspNetCore.Components (2)
Routing\Router.cs (2)
164
await RunOnNavigateAsync(NavigationManager.
ToBaseRelativePath
(_locationAbsolute), isNavigationIntercepted: false);
376
_ = 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);