2 writes to IsPinned
Aspire.Tray.Tests (2)
src\Aspire.Tray\Common\TrayController.cs (2)
607IsPinned = pins.Contains(TrayAppHostPath.Normalize(host.AppHostPath)), 662IsPinned = saved.IsPinned,
15 references to IsPinned
Aspire.Tray.Tests (15)
TrayControllerPinPruningTests.cs (5)
64Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 93Assert.True(row.IsPinned); 214Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 226Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 279Assert.True(Assert.Single(controller.State.AppHosts).IsPinned);
TrayControllerPreferencesTests.cs (1)
109Assert.True(Assert.Single(controller.State.AppHosts).IsPinned);
TrayControllerSavedStateTests.cs (9)
193Assert.True(row.IsPinned); 224Assert.True(live.IsPinned); 240Assert.True(offline.IsPinned); 254Assert.True(controller.State.AppHosts[0].IsPinned); 259Assert.False(Assert.Single(controller.State.AppHosts).IsPinned); 279Assert.All(controller.State.AppHosts, row => Assert.True(row.IsPinned)); 306Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 314Assert.True(Assert.Single(controller.State.AppHosts).IsPinned); 519Assert.False(Assert.Single(controller.State.AppHosts).IsPinned);