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)
61Assert.Equal(runs ? true : null, await executor.ExecuteGraphGameCommandAsync(resource, commandName, r => r.DisplayName)); 75Assert.False(await executor.ExecuteGraphGameCommandAsync(resource, CommandViewModel.StopCommand, r => r.DisplayName)); 86Assert.False(await executor.ExecuteGraphGameCommandAsync(resource, CommandViewModel.StopCommand, r => r.DisplayName)); 105Assert.Null(await executor.ExecuteGraphGameCommandAsync(resource, CommandViewModel.StopCommand, r => r.DisplayName)); 125Assert.Null(await executor.ExecuteGraphGameCommandAsync(resource, CommandViewModel.StopCommand, r => r.DisplayName)); 136Assert.Null(await executor.ExecuteGraphGameCommandAsync(resource, CommandViewModel.StopCommand, r => r.DisplayName));