12 references to PerformUpdatesPrompt
aspire (3)
Projects\GuestAppHostProject.cs (1)
1976if (!await _interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken))
Projects\ProjectUpdater.cs (1)
179if (!context.DryRun && !await interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken))
Projects\RepositoryToolUpdater.cs (1)
95if (await interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, confirmBinding, cancellationToken: cancellationToken))
Aspire.Cli.Tests (9)
Commands\UpdateCommandRepositoryToolsTests.cs (3)
281Assert.Equal(UpdateCommandStrings.PerformUpdatesPrompt, prompt); 303UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken); 509if (prompt != UpdateCommandStrings.PerformUpdatesPrompt)
Projects\ProjectUpdaterNuGetConfigurationTests.cs (6)
272Assert.Equal(dryRun ? [] : new[] { UpdateCommandStrings.PerformUpdatesPrompt }, 1156interaction.ConfirmCallback = (prompt, _) => prompt == UpdateCommandStrings.PerformUpdatesPrompt; 1270interaction.ConfirmCallback = (prompt, _) => prompt == UpdateCommandStrings.PerformUpdatesPrompt || outcome != "decline"; 1305Assert.Equal(outcome == "restore" ? [] : new[] { UpdateCommandStrings.PerformUpdatesPrompt, UpdateCommandStrings.ApplyChangesToNuGetConfig }, 1859Assert.Equal(dryRun ? [] : new[] { UpdateCommandStrings.PerformUpdatesPrompt }, 1926Assert.Equal([UpdateCommandStrings.PerformUpdatesPrompt],