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