1 instantiation of DashboardCommandExecutor
Aspire.Dashboard.Tests (1)
Model\DashboardCommandExecutorTests.cs (1)
266
return new
DashboardCommandExecutor
(
20 references to DashboardCommandExecutor
Aspire.Dashboard (4)
Components\Pages\ConsoleLogs.razor.cs (1)
106
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\Resources.razor.cs (1)
59
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\Terminals.razor.cs (1)
61
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
DashboardWebApplication.cs (1)
374
builder.Services.TryAddScoped<
DashboardCommandExecutor
>();
Aspire.Dashboard.Components.Tests (9)
Model\DashboardCommandExecutorTests.cs (3)
75
Services.AddScoped<
DashboardCommandExecutor
>();
78
var
executor = Services.GetRequiredService<
DashboardCommandExecutor
>();
Pages\ConsoleLogsTests.cs (3)
924
var
dashboardCommandExecutor = Services.GetRequiredService<
DashboardCommandExecutor
>();
1116
Services.AddScoped<
DashboardCommandExecutor
>();
Shared\ResourceSetupHelpers.cs (2)
71
context.Services.AddScoped<
DashboardCommandExecutor
,
DashboardCommandExecutor
>();
Shared\TerminalsSetupHelpers.cs (1)
29
context.Services.AddScoped<
DashboardCommandExecutor
>();
Aspire.Dashboard.Tests (7)
Model\DashboardCommandExecutorTests.cs (7)
48
var
executor = CreateExecutor(dashboardClient, telemetryService, out _, out _);
100
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
144
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
184
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
228
var
executor = CreateExecutor(dashboardClient, out _, out var toastService);
248
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)
256
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, DashboardTelemetryService telemetryService, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)