10 instantiations of EmptyChoicesException
aspire (4)
Commands\AddCommand.cs (1)
148
throw new
EmptyChoicesException
(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (2)
143
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
172
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
598
throw new
EmptyChoicesException
(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (2)
918
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
937
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestConsoleInteractionService.cs (2)
46
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
66
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (2)
44
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
54
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
4 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
232
catch (
EmptyChoicesException
ex)
Templating\DotNetTemplateFactory.cs (1)
514
catch (
EmptyChoicesException
ex)
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (2)
31
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>
44
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>