8 implementations of ShowStatusAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
37public async Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action)
Interaction\ExtensionInteractionService.cs (1)
66public async Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action)
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
899public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
938public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action) => action();
Commands\UpdateCommandTests.cs (1)
951public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action) => _innerService.ShowStatusAsync(statusText, action);
Templating\DotNetTemplateFactoryTests.cs (1)
424public Task<TResult> ShowStatusAsync<TResult>(string message, Func<Task<TResult>> work)
TestServices\TestConsoleInteractionService.cs (1)
26public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action)
TestServices\TestExtensionInteractionService.cs (1)
25public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action)
48 references to ShowStatusAsync
aspire (47)
Backchannel\AppHostConnectionResolver.cs (1)
86var connections = await interactionService.ShowStatusAsync(
Certificates\CertificateService.cs (2)
83var (_, result) = await interactionService.ShowStatusAsync( 117var trustExitCode = await interactionService.ShowStatusAsync(
Commands\AddCommand.cs (2)
107var packagesWithChannels = await InteractionService.ShowStatusAsync( 205var success = await InteractionService.ShowStatusAsync(
Commands\AgentInitCommand.cs (1)
98var applicators = await _interactionService.ShowStatusAsync(
Commands\DocsGetCommand.cs (1)
71var doc = await InteractionService.ShowStatusAsync(
Commands\DocsListCommand.cs (1)
58var docs = await InteractionService.ShowStatusAsync(
Commands\DocsSearchCommand.cs (1)
72var response = await InteractionService.ShowStatusAsync(
Commands\DoctorCommand.cs (1)
49var results = await InteractionService.ShowStatusAsync(
Commands\ExecCommand.cs (3)
194backchannel = await InteractionService.ShowStatusAsync( 212commandExitCode = await InteractionService.ShowStatusAsync<int?>( 235_ = await InteractionService.ShowStatusAsync<int>(
Commands\InitCommand.cs (9)
192var (getSolutionExitCode, solutionProjects) = await InteractionService.ShowStatusAsync("Reading solution...", async () => 215_ = await InteractionService.ShowStatusAsync("Evaluating existing projects...", async () => 333var templateInstallResult = await InteractionService.ShowStatusAsync( 361var createResult = await InteractionService.ShowStatusAsync( 416var addAppHostResult = await InteractionService.ShowStatusAsync( 442var addServiceDefaultsResult = await InteractionService.ShowStatusAsync( 475var addRefResult = await InteractionService.ShowStatusAsync( 509var addRefResult = await InteractionService.ShowStatusAsync( 724var packagesFromChannels = await InteractionService.ShowStatusAsync("Searching for available template versions...", async () =>
Commands\PipelineCommandBase.cs (1)
179var backchannel = await InteractionService.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage(parseResult)}", async () =>
Commands\PsCommand.cs (1)
88connections = await _interactionService.ShowStatusAsync(
Commands\ResourceCommandHelper.cs (2)
42var response = await interactionService.ShowStatusAsync( 62var response = await interactionService.ShowStatusAsync(
Commands\RunCommand.cs (3)
267var backchannel = await InteractionService.ShowStatusAsync( 275var dashboardUrls = await InteractionService.ShowStatusAsync( 830backchannel = await _interactionService.ShowStatusAsync(
Commands\Sdk\SdkDumpCommand.cs (1)
107return await InteractionService.ShowStatusAsync(
Commands\Sdk\SdkGenerateCommand.cs (1)
96return await InteractionService.ShowStatusAsync(
Commands\SetupCommand.cs (1)
71var exitCode = await InteractionService.ShowStatusAsync(
Commands\StopCommand.cs (1)
150var stopped = await _interactionService.ShowStatusAsync(
Commands\WaitCommand.cs (1)
123var exitCode = await _interactionService.ShowStatusAsync(
Projects\GuestAppHostProject.cs (2)
279var buildResult = await _interactionService.ShowStatusAsync( 833var updates = await _interactionService.ShowStatusAsync(
Projects\ProjectLocator.cs (1)
42return await interactionService.ShowStatusAsync(InteractionServiceStrings.SearchingProjects, async () =>
Projects\ProjectUpdater.cs (1)
32var (updateSteps, fallbackUsed) = await interactionService.ShowStatusAsync(UpdateCommandStrings.AnalyzingProjectStatus, () => GetUpdateStepsAsync(projectFile, channel, cancellationToken));
Scaffolding\ScaffoldingService.cs (2)
74var prepareResult = await _interactionService.ShowStatusAsync( 117var installResult = await _interactionService.ShowStatusAsync(
Templating\DotNetTemplateFactory.cs (3)
415var templateInstallResult = await interactionService.ShowStatusAsync<(int ExitCode, string? TemplateVersion)>( 452var newProjectExitCode = await interactionService.ShowStatusAsync( 579var packagesFromChannels = await interactionService.ShowStatusAsync(TemplatingStrings.SearchingForAvailableTemplateVersions, async () =>
Utils\AppHostHelper.cs (2)
58var appHostInformationResult = await interactionService.ShowStatusAsync( 71return await interactionService.ShowStatusAsync(
Utils\CliDownloader.cs (1)
66_ = await interactionService.ShowStatusAsync($"Downloading Aspire CLI from: {archiveUrl}", async () =>
Utils\SdkInstallHelper.cs (1)
109await interactionService.ShowStatusAsync(
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
951public Task<T> ShowStatusAsync<T>(string statusText, Func<Task<T>> action) => _innerService.ShowStatusAsync(statusText, action);