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