8 references to UpdateAction
aspire-tray (8)
TrayApplication.Menus.cs (8)
161UpdateAction(row.Submenu, row.Dashboard, "Open dashboard", host?.CanOpenDashboard == true); 162UpdateAction(row.Submenu, row.Stop, host?.IsStopping == true ? "Stopping..." : StopMenuLabel, host?.CanStop == true); 163UpdateAction(row.Submenu, row.Start, host?.IsStarting == true ? "Starting..." : "Start AppHost", host?.CanStart == true); 164UpdateAction(row.Submenu, row.Pin, host?.IsPinned == true ? "Unpin AppHost" : "Pin AppHost", host is not null); 165UpdateAction(row.Submenu, row.Explorer, "Show in File Explorer", host is not null); 166UpdateAction(row.Submenu, row.CopyPath, "Copy path", host is not null); 169UpdateAction(row.OpenIn, id, menu.Commands[id].Application!.Title, host is not null); 172UpdateAction(menu.RecentHandle, menu.ClearCommand, "Clear recently opened...", state.CanClearRecent);