9 references to Recent
Aspire.Tray.Tests (9)
src\Aspire.Tray\Common\TrayPanel.cs (7)
238BeginConfirm(new(PanelConfirmKind.RemoveMissing, PanelSection.Recent, host)); 632var recent = target.Key.Section == PanelSection.Recent; 690BeginConfirm(new(PanelConfirmKind.ClearRecent, PanelSection.Recent, null)); 750AddSection(PanelSection.Recent, state.RecentAppHosts, IsRecentExpanded); 768if (section == PanelSection.Recent && _confirm is { Kind: PanelConfirmKind.ClearRecent }) 994if (section != PanelSection.Recent) 1128if (section == PanelSection.Recent)
TrayPanelTests.cs (2)
151Assert.Equal(2, panel.Scene.Targets.Count(target => target.Kind == PanelTargetKind.Row && target.Key.Section == PanelSection.Recent)); 640Assert.Equal(new PanelTargetKey(PanelTargetKind.ConfirmCancel, PanelSection.Recent, null), panel.FocusedTarget);