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