10 instantiations of EmptyChoicesException
aspire (4)
Commands\AddCommand.cs (1)
117
throw new
EmptyChoicesException
(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (2)
92
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
114
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
438
throw new
EmptyChoicesException
(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (2)
647
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
666
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestConsoleInteractionService.cs (2)
38
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
48
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (2)
43
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
53
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
4 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
196
catch (
EmptyChoicesException
ex)
Templating\DotNetTemplateFactory.cs (1)
386
catch (
EmptyChoicesException
ex)
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (2)
21
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>
34
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>