7 references to ClearRecent
aspire-tray (7)
NativeSmokeHarness.cs (1)
224Require(_application.PanelForSmoke.Confirmation == PanelConfirmKind.ClearRecent, "Clear did not ask inline.");
src\Aspire.Tray\Common\TrayPanel.cs (6)
570PanelConfirmKind.ClearRecent => new(PanelTargetKind.ClearRecent, confirm.Section, null), 712BeginConfirm(new(PanelConfirmKind.ClearRecent, PanelSection.Recent, null)); 722PanelConfirmKind.ClearRecent => new(PanelActionKind.ClearRecent, Anchor: target.Bounds), 791if (section == PanelSection.Recent && _confirm is { Kind: PanelConfirmKind.ClearRecent }) 1345var valid = confirm.Kind == PanelConfirmKind.ClearRecent ? _state.CanClearRecent : current is not null; 1370PanelConfirmKind.ClearRecent => ("Clear recent AppHosts?", "Pinned AppHosts are kept.", "Clear", "Clear recent AppHosts"),