12 references to SetPinned
Aspire.Tray.Tests (12)
TrayControllerPreferencesTests.cs (3)
145controller.SetPinned(paths[^1], true); 162controller.SetPinned(paths[^2], true); 163controller.SetPinned(paths[^2], false);
TrayControllerSavedStateTests.cs (9)
27controller.SetPinned(path, pinned); 220controller.SetPinned(path, true); 258controller.SetPinned(path, false); 277controller.SetPinned(first.AppHostPath, true); 286controller.SetPinned(first.AppHostPath, false); 302controller.SetPinned(host.AppHostPath, true); 315controller.SetPinned(host.AppHostPath, false); 346controller.SetPinned(hosts[10].AppHostPath, true); 518Assert.Throws<InvalidOperationException>(() => controller.SetPinned(host.AppHostPath, true));