17 references to IsExecuting
Aspire.Dashboard (11)
Components\Controls\ApplicationSummary.razor.cs (1)
644
(menuResource, command) => DashboardCommandExecutor.
IsExecuting
(menuResource.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 (2)
1341
DashboardClient.IsReadOnly || command.State == CommandViewModelState.Disabled || DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name);
1366
(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 (1)
716
(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)
653
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Pages\ResourceOverview.Details.cs (1)
113
["IsCommandExecuting"] = (Func<ResourceViewModel, CommandViewModel, bool>)((r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name)),
Components\Pages\Resources.razor.cs (1)
748
(resource, command) => DashboardCommandExecutor.
IsExecuting
(resource.Name, command.Name),
Components\Pages\Terminals.razor.cs (1)
295
(r, command) => DashboardCommandExecutor.
IsExecuting
(r.Name, command.Name),
Aspire.Dashboard.Components.Tests (2)
Pages\ConsoleLogsTests.cs (2)
948
await AsyncTestHelpers.AssertIsTrueRetryAsync(() => dashboardCommandExecutor.
IsExecuting
("test-resource", "test-name"), "Command start executing");
955
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));
54
Assert.False(executor.
IsExecuting
(resource.Name, command.Name));
85
ActivityStopped = _ => isExecutingAtActivityStop = executor.
IsExecuting
(resource.Name, command.Name)
94
Assert.False(executor.
IsExecuting
(resource.Name, command.Name));