10 references to Recent
aspire-tray (10)
src\Aspire.Tray\Common\TrayPanel.cs (8)
260BeginConfirm(new(PanelConfirmKind.RemoveMissing, PanelSection.Recent, host)); 654var recent = target.Key.Section == PanelSection.Recent; 712BeginConfirm(new(PanelConfirmKind.ClearRecent, PanelSection.Recent, null)); 773AddSection(PanelSection.Recent, state.RecentAppHosts, IsRecentExpanded); 791if (section == PanelSection.Recent && _confirm is { Kind: PanelConfirmKind.ClearRecent }) 1008case ListItemKind.SectionHeader when item.Section == PanelSection.Recent && _settings is null: 1142if (section != PanelSection.Recent) 1276if (section == PanelSection.Recent)
TrayApplication.NativeSmoke.cs (2)
270.Concat(row.Key.Section == PanelSection.Recent ? [$"Remove {name} from recent AppHosts"] : []); 433var rows = panel.Scene.Targets.Where(target => target.Kind == PanelTargetKind.Row && target.Key.Section != PanelSection.Recent).ToList();