8 implementations of PromptConfirmAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
750public 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)
3711public 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)
387public 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)
311public Task<bool> PromptConfirmAsync(string promptText, PromptBinding<bool>? binding = null, CancellationToken cancellationToken = default)
22 references to PromptConfirmAsync
aspire (21)
Commands\AgentInitCommand.cs (2)
228var runAgentInit = await interactionService.PromptConfirmAsync( 499configureMcp = await InteractionService.PromptConfirmAsync(
Commands\PipelineCommandBase.cs (1)
1227InputType.Boolean => (await InteractionService.PromptConfirmAsync(promptText, binding: PromptBinding.CreateDefault(ParseBooleanValue(input.Value)), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
Commands\RenderCommand.cs (1)
376var confirmed = await InteractionService.PromptConfirmAsync(
Commands\TemplateManagementCommand.cs (1)
174var confirmed = await InteractionService.PromptConfirmAsync(
Commands\UpdateCommand.cs (4)
481var shouldUpdateCli = await InteractionService.PromptConfirmAsync( 533var shouldUpdateCli = await InteractionService.PromptConfirmAsync( 625var confirmed = await InteractionService.PromptConfirmAsync( 698var shouldUpdateCli = await InteractionService.PromptConfirmAsync(
Configuration\ConfigSourceService.cs (1)
223accepted = await interaction.PromptConfirmAsync(ConfigSourceStrings.UseSourcePrompt,
Projects\GuestAppHostProject.cs (1)
1976if (!await _interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken))
Projects\ProjectUpdater.cs (2)
169if (!await interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken)) 1755var shouldProceed = await interactionService.PromptConfirmAsync(
Projects\RepositoryToolUpdater.cs (1)
95if (await interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, confirmBinding, cancellationToken: cancellationToken))
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
136var useLocalhostTld = await _interactionService.PromptConfirmAsync(
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
131var useRedisCache = await _interactionService.PromptConfirmAsync(
Templating\DotNetTemplateFactory.cs (3)
296var useLocalhostTld = await interactionService.PromptConfirmAsync( 312var useRedisCache = await interactionService.PromptConfirmAsync( 336var createTestProject = await interactionService.PromptConfirmAsync(
Templating\TemplateEngineFactory.cs (1)
539var value = await interactionService.PromptConfirmAsync(
Templating\TemplateNuGetConfigService.cs (1)
89!await interactionService.PromptConfirmAsync(
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3712=> _innerService.PromptConfirmAsync(promptText, binding, cancellationToken);