10 instantiations of EmptyChoicesException
aspire (4)
Commands\AddCommand.cs (1)
153throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (2)
173throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText)); 202throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
641throw new EmptyChoicesException(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (2)
1312throw new EmptyChoicesException($"No items available for selection: {promptText}"); 1331throw new EmptyChoicesException($"No items available for selection: {promptText}");
TestServices\TestConsoleInteractionService.cs (2)
48throw new EmptyChoicesException($"No items available for selection: {promptText}"); 68throw new EmptyChoicesException($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (2)
46throw new EmptyChoicesException($"No items available for selection: {promptText}"); 56throw new EmptyChoicesException($"No items available for selection: {promptText}");
4 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
258catch (EmptyChoicesException ex)
Templating\DotNetTemplateFactory.cs (1)
557catch (EmptyChoicesException ex)
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (2)
32await Assert.ThrowsAsync<EmptyChoicesException>(() => 45await Assert.ThrowsAsync<EmptyChoicesException>(() =>