2 implementations of ConfirmAsync
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
427
public async Task<bool>
ConfirmAsync
(string promptText, bool defaultValue, CancellationToken cancellationToken)
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
144
public Task<bool>
ConfirmAsync
(string promptText, bool defaultValue = true, CancellationToken cancellationToken = default)
1 reference to ConfirmAsync
aspire (1)
Interaction\ExtensionInteractionService.cs (1)
110
var result = await Backchannel.
ConfirmAsync
(promptText.RemoveSpectreFormatting(), defaultValue, _cancellationToken).ConfigureAwait(false);