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