5 instantiations of EmptyChoicesException
aspire (3)
Commands\AddCommand.cs (1)
103throw new EmptyChoicesException(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (1)
74throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
352throw new EmptyChoicesException(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (2)
TestServices\TestConsoleInteractionService.cs (1)
35throw new EmptyChoicesException($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (1)
40throw new EmptyChoicesException($"No items available for selection: {promptText}");
3 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
193catch (EmptyChoicesException ex)
Templating\DotNetTemplateFactory.cs (1)
307catch (EmptyChoicesException ex)
Aspire.Cli.Tests (1)
Interaction\ConsoleInteractionServiceTests.cs (1)
20await Assert.ThrowsAsync<EmptyChoicesException>(() =>