1 instantiation of DashboardCommandExecutor
Aspire.Dashboard.Tests (1)
Model\DashboardCommandExecutorTests.cs (1)
390
return new
DashboardCommandExecutor
(
36 references to DashboardCommandExecutor
Aspire.Dashboard (11)
Components\Controls\ApplicationSummary.razor.cs (1)
95
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)
143
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)
84
public required
DashboardCommandExecutor
DashboardCommandExecutor { get; init; }
Components\Pages\Resources.razor.cs (1)
62
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)
970
var
dashboardCommandExecutor = Services.GetRequiredService<
DashboardCommandExecutor
>();
1158
Services.AddScoped<
DashboardCommandExecutor
>();
Shared\ResourceSetupHelpers.cs (2)
126
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 (15)
Model\DashboardCommandExecutorTests.cs (15)
36
var
executor = CreateExecutor(client, out _, out _);
58
var
executor = CreateExecutor(client, out _, out _);
72
var
executor = CreateExecutor(client, out _, out _);
83
var
executor = CreateExecutor(client, out _, out _);
102
var
executor = CreateExecutor(client, out _, out _);
122
var
executor = CreateExecutor(client, out var notificationService, out _);
133
var
executor = CreateExecutor(new TestDashboardClient(isEnabled: true), out _, out _);
144
var
executor = CreateExecutor(client, out _, out _);
172
var
executor = CreateExecutor(dashboardClient, telemetryService, out _, out _);
224
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
268
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
308
var
executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService);
352
var
executor = CreateExecutor(dashboardClient, out _, out var toastService);
372
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)
380
private static
DashboardCommandExecutor
CreateExecutor(TestDashboardClient dashboardClient, DashboardTelemetryService telemetryService, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)