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