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