10 writes to Recent
Aspire.Tray.Tests (10)
src\Aspire.Tray\Common\TrayPanel.cs (9)
757
return new(PanelActionKind.OpenDashboard, host, target.Bounds) {
Recent
= recent };
762
return new(PanelActionKind.Stop, host, target.Bounds) {
Recent
= recent };
764
return new(PanelActionKind.Start, host, target.Bounds) {
Recent
= recent };
775
Recent
= recent,
780
return new(PanelActionKind.ShowInFolder, host, target.Bounds) {
Recent
= recent };
783
return new(PanelActionKind.CopyPath, host, target.Bounds) {
Recent
= recent };
786
return new(PanelActionKind.TogglePin, host, target.Bounds) {
Recent
= recent };
789
return new(PanelActionKind.RemoveRecent, host, target.Bounds) {
Recent
= true };
806
_ => new(PanelActionKind.RemoveRecent, host, target.Bounds) {
Recent
= true }
TrayPanelTests.cs (1)
297
Assert.Equal(new PanelAction(PanelActionKind.RemoveRecent, recent, remove.Bounds) {
Recent
= true }, action);
2 references to Recent
Aspire.Tray.Tests (2)
src\Aspire.Tray\Linux\LinuxTrayApplication.cs (1)
637
if (action.
Recent
)
TrayPanelTests.cs (1)
765
Assert.True(action?.
Recent
);