8 references to ExecuteGraphGameCommandAsync
Aspire.Dashboard (2)
Components\Controls\ApplicationSummary.razor.cs (1)
954
? summary.DashboardCommandExecutor.
ExecuteGraphGameCommandAsync
(resource, commandName, summary.GetResourceName)
Components\Pages\Resources.razor.cs (1)
534
? resources.DashboardCommandExecutor.
ExecuteGraphGameCommandAsync
(resource, commandName, resources.GetResourceName)
Aspire.Dashboard.Tests (6)
Model\DashboardCommandExecutorTests.cs (6)
61
Assert.Equal(runs ? true : null, await executor.
ExecuteGraphGameCommandAsync
(resource, commandName, r => r.DisplayName));
75
Assert.False(await executor.
ExecuteGraphGameCommandAsync
(resource, CommandViewModel.StopCommand, r => r.DisplayName));
86
Assert.False(await executor.
ExecuteGraphGameCommandAsync
(resource, CommandViewModel.StopCommand, r => r.DisplayName));
105
Assert.Null(await executor.
ExecuteGraphGameCommandAsync
(resource, CommandViewModel.StopCommand, r => r.DisplayName));
125
Assert.Null(await executor.
ExecuteGraphGameCommandAsync
(resource, CommandViewModel.StopCommand, r => r.DisplayName));
136
Assert.Null(await executor.
ExecuteGraphGameCommandAsync
(resource, CommandViewModel.StopCommand, r => r.DisplayName));