2 writes to IsPinned
aspire-tray (2)
src\Aspire.Tray\Common\TrayController.cs (2)
588IsPinned = pins.Contains(TrayAppHostPath.Normalize(host.AppHostPath)), 646IsPinned = saved.IsPinned,
5 references to IsPinned
aspire-tray (5)
NativeSmokeHarness.cs (1)
177Require(_controller.State.AppHosts.Single(host => host.Id == _hosts[0].Id).IsPinned, "Pin from the action list did not persist.");
src\Aspire.Tray\Common\TrayPanel.cs (1)
1273actions.Add(host.IsPinned
TrayApplication.Actions.cs (2)
49controller.SetPinned(row.Id.AppHostPath, !row.IsPinned); 129if (controller.State.AppHosts.Any(host => host.IsPinned && !host.IsRunning && TrayAppHostPath.Comparer.Equals(host.Id.AppHostPath, path)))
TrayApplication.NativeSmoke.cs (1)
269.Concat([$"Show {name} in File Explorer", $"Copy the folder path of {name}", row.Host.IsPinned ? $"Unpin {name}" : $"Pin {name}"])