10 instantiations of EmptyChoicesException
aspire (4)
Commands\AddCommand.cs (1)
162
throw new
EmptyChoicesException
(AddCommandStrings.NoIntegrationPackagesFound);
Interaction\ConsoleInteractionService.cs (2)
178
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
215
throw new
EmptyChoicesException
(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
Templating\DotNetTemplateFactory.cs (1)
699
throw new
EmptyChoicesException
(TemplatingStrings.NoTemplateVersionsFound);
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (2)
1543
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
1562
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestExtensionInteractionService.cs (2)
52
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
62
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
TestServices\TestInteractionService.cs (2)
95
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
125
throw new
EmptyChoicesException
($"No items available for selection: {promptText}");
4 references to EmptyChoicesException
aspire (2)
Commands\AddCommand.cs (1)
264
catch (
EmptyChoicesException
ex)
Templating\DotNetTemplateFactory.cs (1)
615
catch (
EmptyChoicesException
ex)
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (2)
32
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>
45
await Assert.ThrowsAsync<
EmptyChoicesException
>(() =>