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