11 references to AddGlobalKeydownListener
Aspire.Dashboard (4)
Components\Controls\SummaryDetailsView.razor.cs (1)
94
ShortcutManager.
AddGlobalKeydownListener
(this);
Components\Layout\MainLayout.razor.cs (1)
340
ShortcutManager.
AddGlobalKeydownListener
(this);
Components\Layout\TerminalDock.razor.cs (1)
123
ShortcutManager.
AddGlobalKeydownListener
(this);
Components\Legacy\Layout\LegacyMainLayout.razor.cs (1)
288
ShortcutManager.
AddGlobalKeydownListener
(this);
Aspire.Dashboard.Components.Tests (7)
Dialogs\HelpDialogTests.cs (1)
164
Services.GetRequiredService<ShortcutManager>().
AddGlobalKeydownListener
(new TestGlobalKeydownListener(subscribedShortcuts ?? []));
Dialogs\KeyboardShortcutsHelpTests.cs (6)
24
shortcutManager.
AddGlobalKeydownListener
(new TestGlobalKeydownListener(AspireKeyboardShortcut.GoToResources));
27
shortcutManager.
AddGlobalKeydownListener
(new TestGlobalKeydownListener(AspireKeyboardShortcut.GoToTerminals));
53
shortcutManager.
AddGlobalKeydownListener
(new TestGlobalKeydownListener(
58
shortcutManager.
AddGlobalKeydownListener
(new TestGlobalKeydownListener(AspireKeyboardShortcut.ToggleTerminalDock));
83
shortcutManager.
AddGlobalKeydownListener
(new TestGlobalKeydownListener(
119
Services.GetRequiredService<ShortcutManager>().
AddGlobalKeydownListener
(new TestGlobalKeydownListener(