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