9 instantiations of ExtensionOperationCanceledException
aspire (6)
Backchannel\ExtensionBackchannel.cs (5)
565
throw new
ExtensionOperationCanceledException
(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
598
throw new
ExtensionOperationCanceledException
(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
622
throw new
ExtensionOperationCanceledException
(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
648
throw new
ExtensionOperationCanceledException
(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
674
throw new
ExtensionOperationCanceledException
(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
Interaction\ExtensionInteractionService.cs (1)
238
throw new
ExtensionOperationCanceledException
(promptText);
Aspire.Cli.Tests (3)
Commands\DoCommandTests.cs (1)
48
PromptForStringCallback = (_, _, _, _, _, _) => throw new
ExtensionOperationCanceledException
("Pipeline step selection was canceled.")
Commands\RunCommandTests.cs (1)
2186
? new
ExtensionOperationCanceledException
("Extension operation canceled.")
Commands\SecretCommandTests.cs (1)
379
throw new
ExtensionOperationCanceledException
("Secret entry canceled.");
8 references to ExtensionOperationCanceledException
aspire (7)
Commands\BaseCommand.cs (1)
212
catch (OperationCanceledException ex) when (cancellationToken.IsCancellationRequested || ex is
ExtensionOperationCanceledException
)
Commands\PipelineCommandBase.cs (1)
432
catch (
ExtensionOperationCanceledException
)
Commands\RunCommand.cs (1)
702
ex is
ExtensionOperationCanceledException
||
Interaction\ExtensionInteractionService.cs (4)
293
if (ex is not
ExtensionOperationCanceledException
)
341
if (ex is not
ExtensionOperationCanceledException
)
380
if (ex is not
ExtensionOperationCanceledException
)
709
catch (Exception ex) when (ex is not
ExtensionOperationCanceledException
)
Aspire.Cli.Tests (1)
Interaction\ExtensionInteractionServiceTests.cs (1)
567
await Assert.ThrowsAsync<
ExtensionOperationCanceledException
>(() =>