8 implementations of PromptConfirmAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
665public async Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
Interaction\ExtensionInteractionService.cs (1)
271public async Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1218public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
Commands\UpdateCommandTests.cs (1)
3529public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
Projects\ExtensionGuestLauncherTests.cs (1)
240public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
388public Task<bool> PromptConfirmAsync(string prompt, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
TestServices\TestExtensionInteractionService.cs (1)
210public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
TestServices\TestInteractionService.cs (1)
287public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
19 references to PromptConfirmAsync
aspire (18)
Commands\AgentInitCommand.cs (2)
129var runAgentInit = await interactionService.PromptConfirmAsync( 303configureMcp = await InteractionService.PromptConfirmAsync(
Commands\PipelineCommandBase.cs (1)
1157InputType.Boolean => (await InteractionService.PromptConfirmAsync(promptText, binding: PromptBinding.CreateDefault(ParseBooleanValue(input.Value)), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
Commands\RenderCommand.cs (1)
375var confirmed = await InteractionService.PromptConfirmAsync(
Commands\UpdateCommand.cs (4)
382var shouldUpdateCli = await InteractionService.PromptConfirmAsync( 434var shouldUpdateCli = await InteractionService.PromptConfirmAsync( 526var confirmed = await InteractionService.PromptConfirmAsync( 580var shouldUpdateCli = await InteractionService.PromptConfirmAsync(
Packaging\NuGetConfigPrompter.cs (2)
50var shouldCreate = await _interactionService.PromptConfirmAsync( 63var shouldUpdate = await _interactionService.PromptConfirmAsync(
Projects\GuestAppHostProject.cs (1)
1552if (!await _interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken))
Projects\ProjectUpdater.cs (2)
87if (!await interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken)) 1265var shouldProceed = await interactionService.PromptConfirmAsync(
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
135var useLocalhostTld = await _interactionService.PromptConfirmAsync(
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
131var useRedisCache = await _interactionService.PromptConfirmAsync(
Templating\DotNetTemplateFactory.cs (3)
291var useLocalhostTld = await interactionService.PromptConfirmAsync( 307var useRedisCache = await interactionService.PromptConfirmAsync( 331var createTestProject = await interactionService.PromptConfirmAsync(
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3530=> _innerService.PromptConfirmAsync(promptText, binding, cancellationToken);