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