1 instantiation of DashboardCommandExecutor
Aspire.Dashboard.Tests (1)
Model\DashboardCommandExecutorTests.cs (1)
295
return new
DashboardCommandExecutor
(
30 references to DashboardCommandExecutor
Aspire.Dashboard (11)
Components\Controls\ApplicationSummary.razor.cs (1)
97
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Controls\TerminalDisconnectedBanner.razor.cs (1)
60
public required
DashboardCommandExecutor
CommandExecutor { get; init; }
Components\Layout\ResourcesLayout.razor.cs (1)
105
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
106
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\Resources.razor.cs (1)
59
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\Terminals.razor.cs (1)
61
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\ConsoleLogs.razor.cs (1)
106
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\ResourceOverview.razor.cs (1)
75
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\Resources.razor.cs (1)
61
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\Terminals.razor.cs (1)
61
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
DashboardWebApplication.cs (1)
384
builder.Services.TryAddScoped<
DashboardCommandExecutor
>();
Aspire.Dashboard.Components.Tests (10)
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)
102
context.Services.AddScoped<
DashboardCommandExecutor
,
DashboardCommandExecutor
>();
Shared\TerminalSetupHelpers.cs (1)
82
context.Services.TryAddScoped<
DashboardCommandExecutor
>();
Shared\TerminalsSetupHelpers.cs (1)
38
context.Services.AddScoped<
DashboardCommandExecutor
>();
Aspire.Dashboard.Tests (9)
Model\DashboardCommandExecutorTests.cs (9)
36
var
executor = CreateExecutor(client, out _, out _);
49
var
executor = CreateExecutor(client, out _, out _);
77
var
executor = CreateExecutor(dashboardClient, telemetryService, out _, out _);
129
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
173
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
213
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
257
var
executor = CreateExecutor(dashboardClient, out _, out var toastService);
277
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)
285
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, DashboardTelemetryService telemetryService, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)