8 references to ClearRecent
Aspire.Tray.Tests (8)
src\Aspire.Tray\Common\TrayPanel.cs (6)
653PanelConfirmKind.ClearRecent => new(PanelTargetKind.ClearRecent, confirm.Section, null), 795BeginConfirm(new(PanelConfirmKind.ClearRecent, PanelSection.Recent, null)); 805PanelConfirmKind.ClearRecent => new(PanelActionKind.ClearRecent, Anchor: target.Bounds), 874if (section == PanelSection.Recent && _confirm is { Kind: PanelConfirmKind.ClearRecent }) 1458var valid = confirm.Kind == PanelConfirmKind.ClearRecent ? _state.CanClearRecent : current is not null; 1483PanelConfirmKind.ClearRecent => ("Clear recent AppHosts?", "Pinned AppHosts are kept.", "Clear", "Clear recent AppHosts"),
TrayPanelTests.cs (2)
739Assert.Equal(PanelConfirmKind.ClearRecent, panel.Confirmation); 1483Assert.Equal(PanelConfirmKind.ClearRecent, panel.Confirmation);