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)
355
Dispatch(new(
ActionKind
.Dashboard, id));
358
Dispatch(new(
ActionKind
.Stop, id));
361
Dispatch(new(
ActionKind
.Start, id));
364
Dispatch(new(
ActionKind
.OpenIn, id, _installedApplications.FirstOrDefault(application => application.Title == action.Application)));
367
Dispatch(new(
ActionKind
.Explorer, id));
370
Dispatch(new(
ActionKind
.CopyPath, id));
373
Dispatch(new(
ActionKind
.TogglePin, id));
376
Dispatch(new(
ActionKind
.ClearRecent));
379
Dispatch(new(
ActionKind
.RemoveRecent, id));
383
Dispatch(new(
ActionKind
.Documentation));
394
Dispatch(new(
ActionKind
.Quit));