4 references to ExecuteCommandAsync
Aspire.Hosting (1)
Dashboard\DashboardServiceData.cs (1)
101var result = await _resourceCommandService.ExecuteCommandAsync(resourceId, type, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (3)
ResourceCommandServiceTests.cs (3)
25var result = await app.ResourceCommands.ExecuteCommandAsync("NotFoundResourceId", "NotFound"); 48var result = await app.ResourceCommands.ExecuteCommandAsync("myResource", "NotFound"); 98var result = await app.ResourceCommands.ExecuteCommandAsync("myResource", "mycommand");