33 references to AspireKeyboardShortcut
Aspire.Dashboard (33)
Components\Controls\SummaryDetailsView.razor.cs (13)
223public IReadOnlySet<AspireKeyboardShortcut> SubscribedShortcuts { get; } = new HashSet<AspireKeyboardShortcut> 225AspireKeyboardShortcut.ToggleOrientation, 226AspireKeyboardShortcut.ClosePanel, 227AspireKeyboardShortcut.ResetPanelSize, 228AspireKeyboardShortcut.IncreasePanelSize, 229AspireKeyboardShortcut.DecreasePanelSize 232public async Task OnPageKeyDownAsync(AspireKeyboardShortcut shortcut) 239if (shortcut is AspireKeyboardShortcut.ToggleOrientation) 245if (shortcut is AspireKeyboardShortcut.ClosePanel) 258if (shortcut is AspireKeyboardShortcut.ResetPanelSize) 271if (shortcut is AspireKeyboardShortcut.IncreasePanelSize) 276else if (shortcut is AspireKeyboardShortcut.DecreasePanelSize)
Components\Layout\MainLayout.razor.cs (17)
232public IReadOnlySet<AspireKeyboardShortcut> SubscribedShortcuts { get; } = new HashSet<AspireKeyboardShortcut> 234AspireKeyboardShortcut.Help, 235AspireKeyboardShortcut.Settings, 236AspireKeyboardShortcut.GoToResources, 237AspireKeyboardShortcut.GoToConsoleLogs, 238AspireKeyboardShortcut.GoToStructuredLogs, 239AspireKeyboardShortcut.GoToTraces, 240AspireKeyboardShortcut.GoToMetrics 243public async Task OnPageKeyDownAsync(AspireKeyboardShortcut shortcut) 247case AspireKeyboardShortcut.Help: 250case AspireKeyboardShortcut.Settings: 253case AspireKeyboardShortcut.GoToResources: 256case AspireKeyboardShortcut.GoToConsoleLogs: 259case AspireKeyboardShortcut.GoToStructuredLogs: 262case AspireKeyboardShortcut.GoToTraces: 265case AspireKeyboardShortcut.GoToMetrics:
Model\IGlobalKeydownListener.cs (2)
8IReadOnlySet<AspireKeyboardShortcut> SubscribedShortcuts { get; } 9Task OnPageKeyDownAsync(AspireKeyboardShortcut shortcut);
ShortcutManager.cs (1)
26public Task OnGlobalKeyDown(AspireKeyboardShortcut shortcut)