Implemented interface member:
method
PromptForSelectionsAsync<T>
Aspire.Cli.Interaction.IInteractionService.PromptForSelectionsAsync<T>(System.String, System.Collections.Generic.IEnumerable<T>, System.Func<T, System.String>, System.Collections.Generic.IEnumerable<T>, System.Boolean, Aspire.Cli.Interaction.PromptBinding<System.String>, System.Boolean, System.Collections.Generic.IEnumerable<T>, System.Threading.CancellationToken)
11 references to PromptForSelectionsAsync
aspire (1)
Interaction\ExtensionInteractionService.cs (1)
381return await _consoleInteractionService.PromptForSelectionsAsync(promptText, choices, choiceFormatter, preSelected, optional, binding, echoSelected, bindingChoices, cancellationToken);
Aspire.Cli.Tests (10)
Interaction\ConsoleInteractionServiceTests.cs (10)
102interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 461interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 1708interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None)); 1735interactionService.PromptForSelectionsAsync("Select:", visibleChoices, x => x, binding: binding, bindingChoices: bindingChoices, cancellationToken: CancellationToken.None)); 1761interactionService.PromptForSelectionsAsync( 1793interactionService.PromptForSelectionsAsync( 1854var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 1979var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 2017var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 2037var result = await interactionService.PromptForSelectionsAsync(