3 implementations of PromptForSelectionAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
289
public Task<T>
PromptForSelectionAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, Func<T, SelectionChoiceGroup?> choiceGroup, Func<T, string> groupedChoiceFormatter, PromptBinding<string?>? binding = null, bool echoSelected = true, CancellationToken cancellationToken = default) where T : notnull
Interaction\ExtensionInteractionService.cs (1)
308
public Task<T>
PromptForSelectionAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter,
Aspire.Cli.Tests (1)
TestServices\TestInteractionService.cs (1)
172
public Task<T>
PromptForSelectionAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, Func<T, SelectionChoiceGroup?> choiceGroup, Func<T, string> groupedChoiceFormatter, PromptBinding<string?>? binding = null, bool echoSelected = true, CancellationToken cancellationToken = default) where T : notnull
3 references to PromptForSelectionAsync
aspire (3)
Commands\AddCommand.cs (2)
888
return await interactionService.
PromptForSelectionAsync
(
918
var selectedIntegration = await interactionService.
PromptForSelectionAsync
(
Commands\NewCommand.cs (1)
391
var selection = await InteractionService.
PromptForSelectionAsync
(