22 references to IsExecuting
Aspire.Dashboard (16)
Components\Controls\ApplicationSummary.razor.cs (2)
652
(menuResource, command) => DashboardCommandExecutor.
IsExecuting
(menuResource.Name, command.Name),
666
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Controls\TerminalDisconnectedBanner.razor.cs (1)
101
Resource is not { } resource || CommandExecutor.
IsExecuting
(resource.Name, command.Name);
Components\Layout\ResourcesLayout.razor.cs (3)
1959
DashboardClient.IsReadOnly || command.State == CommandViewModelState.Disabled || DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name);
1964
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
1990
(r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name),
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
586
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Legacy\Pages\Resources.razor.cs (2)
723
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
738
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Legacy\Pages\Terminals.razor.cs (1)
265
(r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name),
Components\Pages\ConsoleLogs.razor.cs (1)
690
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Pages\ResourceOverview.Details.cs (1)
125
["IsCommandExecuting"] = (Func<ResourceViewModel, CommandViewModel, bool>)((r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name)),
Components\Pages\Resources.razor.cs (2)
779
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
794
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Pages\Terminals.razor.cs (1)
295
(r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name),
Model\DashboardCommandExecutor.cs (1)
64
IsExecuting
(resource.Name, command.Name))
Aspire.Dashboard.Components.Tests (2)
Pages\ConsoleLogsTests.cs (2)
994
await AsyncTestHelpers.AssertIsTrueRetryAsync(() => dashboardCommandExecutor.
IsExecuting
("test-resource", "test-name"), "Command start executing");
1001
await AsyncTestHelpers.AssertIsTrueRetryAsync(() => !dashboardCommandExecutor.
IsExecuting
("test-resource", "test-name"), "Command finish executing");
Aspire.Dashboard.Tests (4)
Model\DashboardCommandExecutorTests.cs (4)
41
Assert.False(executor.
IsExecuting
(resource.Name, command.Name));
149
Assert.False(executor.
IsExecuting
(resource.Name, command.Name));
180
ActivityStopped = _ => isExecutingAtActivityStop = executor.
IsExecuting
(resource.Name, command.Name)
189
Assert.False(executor.
IsExecuting
(resource.Name, command.Name));