28 references to ActionKind
aspire-tray (28)
TrayApplication.Actions.cs (12)
20case ActionKind.Dashboard: 23case ActionKind.Stop: 41case ActionKind.Start: 48case ActionKind.TogglePin: 52case ActionKind.CopyPath: 56case ActionKind.Explorer: 57case ActionKind.OpenIn: 65if (target.Kind == ActionKind.Explorer) 75case ActionKind.ClearRecent: 81case ActionKind.Documentation: 84case ActionKind.Settings: 87case ActionKind.Quit:
TrayApplication.cs (1)
352Dispatch(new(ActionKind.Settings));
TrayApplication.Menus.cs (13)
78root.ClearCommand = AddAction(root, recent, "Clear recently opened...", new(ActionKind.ClearRecent), state.CanClearRecent); 80var documentation = AddAction(root, root.Handle, "Documentation", new(ActionKind.Documentation), true); 82var settings = AddAction(root, root.Handle, "Settings...", new(ActionKind.Settings), true); 86AddAction(root, root.Handle, "Quit Aspire", new(ActionKind.Quit), true); 110new(ActionKind.Dashboard, host.Id), host.CanOpenDashboard); 113new(ActionKind.Stop, host.Id), host.CanStop); 118new(ActionKind.Start, host.Id), host.CanStart); 120row.Pin = AddAction(root, submenu, host.IsPinned ? "Unpin AppHost" : "Pin AppHost", new(ActionKind.TogglePin, host.Id), true); 122row.Explorer = AddAction(root, submenu, "Show in File Explorer", new(ActionKind.Explorer, host.Id), true); 123row.CopyPath = AddAction(root, submenu, "Copy path", new(ActionKind.CopyPath, host.Id), true); 127var id = AddAction(root, row.OpenIn, application.Title, new(ActionKind.OpenIn, host.Id, application), true); 389var command = AddAction(context, context.Handle, host.IsPinned ? "Unpin AppHost" : "Pin AppHost", new(ActionKind.TogglePin, host.Id), true); 408private sealed record ActionTarget(ActionKind Kind, AppHostId Id = default, FolderApplication? Application = null);
TrayApplication.NativeSmoke.cs (2)
350ActionKind.Documentation => _artwork!.DocumentationBitmap, 351ActionKind.Settings => _artwork!.SettingsBitmap,