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)
230public IReadOnlySet<AspireKeyboardShortcut> SubscribedShortcuts { get; } = new HashSet<AspireKeyboardShortcut> 232AspireKeyboardShortcut.Help, 233AspireKeyboardShortcut.Settings, 234AspireKeyboardShortcut.GoToResources, 235AspireKeyboardShortcut.GoToConsoleLogs, 236AspireKeyboardShortcut.GoToStructuredLogs, 237AspireKeyboardShortcut.GoToTraces, 238AspireKeyboardShortcut.GoToMetrics 241public async Task OnPageKeyDownAsync(AspireKeyboardShortcut shortcut) 245case AspireKeyboardShortcut.Help: 248case AspireKeyboardShortcut.Settings: 251case AspireKeyboardShortcut.GoToResources: 254case AspireKeyboardShortcut.GoToConsoleLogs: 257case AspireKeyboardShortcut.GoToStructuredLogs: 260case AspireKeyboardShortcut.GoToTraces: 263case AspireKeyboardShortcut.GoToMetrics:
Model\IGlobalKeydownListener.cs (2)
8IReadOnlySet<AspireKeyboardShortcut> SubscribedShortcuts { get; } 9Task OnPageKeyDownAsync(AspireKeyboardShortcut shortcut);
ShortcutManager.cs (1)
26public Task OnGlobalKeyDown(AspireKeyboardShortcut shortcut)