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)
12 references to ShowStatusAsync
aspire (1)
Interaction\ExtensionInteractionService.cs (1)
88
return await _consoleInteractionService.
ShowStatusAsync
(statusText, action, emoji, allowMarkup).ConfigureAwait(false);
Aspire.Cli.Tests (11)
Interaction\ConsoleInteractionServiceTests.cs (11)
279
var statusValue = await interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(GetInStatus(interactionService))).DefaultTimeout();
330
var asyncStatusValue = await interactionService.
ShowStatusAsync
("Working...", () => Task.FromResult(GetInStatus(interactionService))).DefaultTimeout();
351
var statusValue = await interactionService.
ShowStatusAsync
("Working...", () => Task.FromResult(GetInStatus(interactionService))).DefaultTimeout();
451
var actualResult = await interactionService.
ShowStatusAsync
(outerStatusText, async () =>
454
return await interactionService.
ShowStatusAsync
(innerStatusText, () => Task.FromResult(expectedResult));
515
await interactionService.
ShowStatusAsync
("Working...", () => Task.FromResult(0)).DefaultTimeout();
526
await interactionService.
ShowStatusAsync
(string.Empty, () => Task.FromResult(0)).DefaultTimeout();
1009
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0)));
1064
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), allowMarkup: true));
1093
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), allowMarkup: true));
1119
interactionService.
ShowStatusAsync
(statusText, () => Task.FromResult(0), emoji: KnownEmojis.Rocket));