6 instantiations of EmptyChoicesException
aspire (3)
Commands\AddCommand.cs (1)
119throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (1)
92throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
378throw new EmptyChoicesException(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (3)
Commands\NewCommandTests.cs (1)
647throw new EmptyChoicesException($"No items available for selection: {promptText}");
TestServices\TestConsoleInteractionService.cs (1)
38throw new EmptyChoicesException($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (1)
42throw new EmptyChoicesException($"No items available for selection: {promptText}");
3 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
198catch (EmptyChoicesException ex)
Templating\DotNetTemplateFactory.cs (1)
326catch (EmptyChoicesException ex)
Aspire.Cli.Tests (1)
Interaction\ConsoleInteractionServiceTests.cs (1)
21await Assert.ThrowsAsync<EmptyChoicesException>(() =>