16 references to Normalize
Aspire.Tray.Tests (16)
src\Aspire.Tray\Common\FileTraySavedStateStore.cs (3)
29_path = TrayAppHostPath.Normalize(path); 37Path.Combine(TrayAppHostPath.Normalize(legacyDirectory), "apphosts.json")); 181var normalized = TrayAppHostPath.Normalize(host.AppHostPath);
src\Aspire.Tray\Common\TrayConfiguration.cs (2)
38return TrayAppHostPath.Normalize(home); 46settingsPath = TrayAppHostPath.Normalize(settingsPath);
src\Aspire.Tray\Common\TrayController.cs (9)
160var path = TrayAppHostPath.Normalize(appHostPath); 168var path = TrayAppHostPath.Normalize(appHostPath); 218var path = TrayAppHostPath.Normalize(appHostPath); 262if (_snapshot.AppHosts.Any(host => TrayAppHostPath.Comparer.Equals(TrayAppHostPath.Normalize(host.AppHostPath), path))) 344.Select(host => TrayAppHostPath.Normalize(host.AppHostPath)) 353var path = TrayAppHostPath.Normalize(host.AppHostPath); 516var protectedPaths = _snapshot.AppHosts.Select(host => TrayAppHostPath.Normalize(host.AppHostPath)) 607IsPinned = pins.Contains(TrayAppHostPath.Normalize(host.AppHostPath)), 612var listedPaths = _snapshot.AppHosts.Select(host => TrayAppHostPath.Normalize(host.AppHostPath))
src\Aspire.Tray\Common\TraySavedState.cs (1)
122var normalized = Normalize(path);
TraySavedStateTests.cs (1)
267Assert.Throws<ArgumentException>(() => TrayAppHostPath.Normalize("relative/apphost.cs"));