3 writes to IsPinned
Aspire.Tray.Tests (3)
Helpers\TrayPanelSamples.cs (1)
27IsPinned = pinned,
src\Aspire.Tray\Common\TrayController.cs (2)
588IsPinned = pins.Contains(TrayAppHostPath.Normalize(host.AppHostPath)), 646IsPinned = saved.IsPinned,
16 references to IsPinned
Aspire.Tray.Tests (16)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1273actions.Add(host.IsPinned
TrayControllerPinPruningTests.cs (5)
63Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 92Assert.True(row.IsPinned); 213Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 224Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 276Assert.True(Assert.Single(controller.State.AppHosts).IsPinned);
TrayControllerPreferencesTests.cs (1)
64Assert.True(Assert.Single(controller.State.AppHosts).IsPinned);
TrayControllerSavedStateTests.cs (9)
189Assert.True(row.IsPinned); 220Assert.True(live.IsPinned); 236Assert.True(offline.IsPinned); 250Assert.True(controller.State.AppHosts[0].IsPinned); 255Assert.False(Assert.Single(controller.State.AppHosts).IsPinned); 275Assert.All(controller.State.AppHosts, row => Assert.True(row.IsPinned)); 302Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 310Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 513Assert.False(Assert.Single(controller.State.AppHosts).IsPinned);