8 references to DashboardUIHelpers
Aspire.Dashboard (8)
Components\Pages\ConsoleLogs.razor.cs (1)
288
_highlightedCommands.AddRange(PageViewModel.SelectedResource.Commands.Where(c => c.IsHighlighted && c.State != CommandViewModelState.Hidden).Take(
DashboardUIHelpers
.MaxHighlightedCommands));
Components\Pages\Resources.razor.cs (2)
261
.Take(request.Count ??
DashboardUIHelpers
.DefaultDataGridResultCount);
284
_maxHighlightedCount = Math.Min(maxHighlightedCount,
DashboardUIHelpers
.MaxHighlightedCommands);
Components\Pages\StructuredLogs.razor.cs (1)
109
ViewModel.Count = request.Count ??
DashboardUIHelpers
.DefaultDataGridResultCount;
Components\Pages\TraceDetail.razor.cs (1)
88
page = page.Take(request.Count ??
DashboardUIHelpers
.DefaultDataGridResultCount);
Components\Pages\Traces.razor.cs (1)
114
TracesViewModel.Count = request.Count ??
DashboardUIHelpers
.DefaultDataGridResultCount;
Model\DashboardCommandExecutor.cs (2)
70
closeToastCts.CancelAfter(
DashboardUIHelpers
.ToastTimeout);
99
closeToastCts.CancelAfter(
DashboardUIHelpers
.ToastTimeout);