1 instantiation of DashboardCommandExecutor
Aspire.Dashboard.Tests (1)
Model\DashboardCommandExecutorTests.cs (1)
390return new DashboardCommandExecutor(
36 references to DashboardCommandExecutor
Aspire.Dashboard (11)
Components\Controls\ApplicationSummary.razor.cs (1)
95public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Controls\TerminalDisconnectedBanner.razor.cs (1)
60public required DashboardCommandExecutor CommandExecutor { get; init; }
Components\Layout\ResourcesLayout.razor.cs (1)
143public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
106public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\Resources.razor.cs (1)
59public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Legacy\Pages\Terminals.razor.cs (1)
61public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Pages\ConsoleLogs.razor.cs (1)
106public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Pages\ResourceOverview.razor.cs (1)
84public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Pages\Resources.razor.cs (1)
62public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
Components\Pages\Terminals.razor.cs (1)
61public required DashboardCommandExecutor DashboardCommandExecutor { get; init; }
DashboardWebApplication.cs (1)
384builder.Services.TryAddScoped<DashboardCommandExecutor>();
Aspire.Dashboard.Components.Tests (10)
Model\DashboardCommandExecutorTests.cs (3)
75Services.AddScoped<DashboardCommandExecutor>(); 78var executor = Services.GetRequiredService<DashboardCommandExecutor>();
Pages\ConsoleLogsTests.cs (3)
970var dashboardCommandExecutor = Services.GetRequiredService<DashboardCommandExecutor>(); 1158Services.AddScoped<DashboardCommandExecutor>();
Shared\ResourceSetupHelpers.cs (2)
126context.Services.AddScoped<DashboardCommandExecutor, DashboardCommandExecutor>();
Shared\TerminalSetupHelpers.cs (1)
82context.Services.TryAddScoped<DashboardCommandExecutor>();
Shared\TerminalsSetupHelpers.cs (1)
38context.Services.AddScoped<DashboardCommandExecutor>();
Aspire.Dashboard.Tests (15)
Model\DashboardCommandExecutorTests.cs (15)
36var executor = CreateExecutor(client, out _, out _); 58var executor = CreateExecutor(client, out _, out _); 72var executor = CreateExecutor(client, out _, out _); 83var executor = CreateExecutor(client, out _, out _); 102var executor = CreateExecutor(client, out _, out _); 122var executor = CreateExecutor(client, out var notificationService, out _); 133var executor = CreateExecutor(new TestDashboardClient(isEnabled: true), out _, out _); 144var executor = CreateExecutor(client, out _, out _); 172var executor = CreateExecutor(dashboardClient, telemetryService, out _, out _); 224var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 268var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 308var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 352var executor = CreateExecutor(dashboardClient, out _, out var toastService); 372private static DashboardCommandExecutor CreateExecutor(TestDashboardClient dashboardClient, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService) 380private static DashboardCommandExecutor CreateExecutor(TestDashboardClient dashboardClient, DashboardTelemetryService telemetryService, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)