24 references to ActionKind
aspire-tray (24)
TrayApplication.Actions.cs (13)
21
case
ActionKind
.Dashboard:
24
case
ActionKind
.Stop:
33
case
ActionKind
.Start:
40
case
ActionKind
.ClearRecent:
44
case
ActionKind
.RemoveRecent:
47
case
ActionKind
.TogglePin:
51
case
ActionKind
.CopyPath:
55
case
ActionKind
.Explorer:
56
case
ActionKind
.OpenIn:
58
var application = target.Kind ==
ActionKind
.OpenIn
78
case
ActionKind
.Documentation:
81
case
ActionKind
.Quit:
189
private sealed record ActionTarget(
ActionKind
Kind, AppHostId Id = default, FolderApplication? Application = null);
TrayApplication.Panel.cs (11)
339
Dispatch(new(
ActionKind
.Dashboard, id));
342
Dispatch(new(
ActionKind
.Stop, id));
345
Dispatch(new(
ActionKind
.Start, id));
348
Dispatch(new(
ActionKind
.OpenIn, id, _installedApplications.FirstOrDefault(application => application.Title == action.Application)));
351
Dispatch(new(
ActionKind
.Explorer, id));
354
Dispatch(new(
ActionKind
.CopyPath, id));
357
Dispatch(new(
ActionKind
.TogglePin, id));
360
Dispatch(new(
ActionKind
.ClearRecent));
363
Dispatch(new(
ActionKind
.RemoveRecent, id));
367
Dispatch(new(
ActionKind
.Documentation));
378
Dispatch(new(
ActionKind
.Quit));