13 references to PerformUpdatesPrompt
aspire (3)
Projects\GuestAppHostProject.cs (1)
1972if (!await _interactionService.PromptConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken))
Projects\ProjectUpdater.cs (1)
169if (!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 (10)
Commands\UpdateCommandRepositoryToolsTests.cs (4)
237Assert.Equal(UpdateCommandStrings.PerformUpdatesPrompt, prompt); 259UpdateCommandStrings.PerformUpdatesPrompt, context.ConfirmBinding, cancellationToken: cancellationToken); 462if (prompt != UpdateCommandStrings.PerformUpdatesPrompt) 541Assert.Single(interaction.BooleanPromptCalls, call => call.PromptText == UpdateCommandStrings.PerformUpdatesPrompt);
Projects\ProjectUpdaterNuGetConfigurationTests.cs (6)
227Assert.Equal([UpdateCommandStrings.PerformUpdatesPrompt], 989interaction.ConfirmCallback = (prompt, _) => prompt == UpdateCommandStrings.PerformUpdatesPrompt; 1103interaction.ConfirmCallback = (prompt, _) => prompt == UpdateCommandStrings.PerformUpdatesPrompt || outcome != "decline"; 1137Assert.Equal([UpdateCommandStrings.PerformUpdatesPrompt, UpdateCommandStrings.ApplyChangesToNuGetConfig], 1562Assert.Equal([UpdateCommandStrings.PerformUpdatesPrompt], 1629Assert.Equal([UpdateCommandStrings.PerformUpdatesPrompt],