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