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