10 writes to Recent
Aspire.Tray.Tests (10)
src\Aspire.Tray\Common\TrayPanel.cs (9)
674
return new(PanelActionKind.OpenDashboard, host, target.Bounds) {
Recent
= recent };
679
return new(PanelActionKind.Stop, host, target.Bounds) {
Recent
= recent };
681
return new(PanelActionKind.Start, host, target.Bounds) {
Recent
= recent };
692
Recent
= recent,
697
return new(PanelActionKind.ShowInFolder, host, target.Bounds) {
Recent
= recent };
700
return new(PanelActionKind.CopyPath, host, target.Bounds) {
Recent
= recent };
703
return new(PanelActionKind.TogglePin, host, target.Bounds) {
Recent
= recent };
706
return new(PanelActionKind.RemoveRecent, host, target.Bounds) {
Recent
= true };
723
_ => new(PanelActionKind.RemoveRecent, host, target.Bounds) {
Recent
= true }
TrayPanelTests.cs (1)
257
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)
661
Assert.True(action?.
Recent
);