Implemented interface member:
method
ShowStatusAsync<T>
Aspire.Cli.Interaction.IInteractionService.ShowStatusAsync<T>(System.String, System.Func<System.Threading.Tasks.Task<T>>, Aspire.Cli.Interaction.KnownEmoji?, System.Boolean)
8 references to ShowStatusAsync
aspire (1)
Interaction\ExtensionInteractionService.cs (1)
72
var value = await _consoleInteractionService.
ShowStatusAsync
(statusText, action, emoji, allowMarkup).ConfigureAwait(false);
Aspire.Cli.Tests (7)
Interaction\ConsoleInteractionServiceTests.cs (7)
200
var actualResult = await interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(result)).DefaultTimeout();
314
var actualResult = await interactionService.
ShowStatusAsync
(outerStatusText, async () =>
317
return await interactionService.
ShowStatusAsync
(innerStatusText, () => Task.FromResult(expectedResult));
599
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0)));
654
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), allowMarkup: true));
683
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), allowMarkup: true));
709
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), emoji: KnownEmojis.Rocket));