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)
10 references to PromptForSelectionsAsync
aspire (1)
Interaction\ExtensionInteractionService.cs (1)
377return await _consoleInteractionService.PromptForSelectionsAsync(promptText, choices, choiceFormatter, preSelected, optional, binding, echoSelected, bindingChoices, cancellationToken);
Aspire.Cli.Tests (9)
Interaction\ConsoleInteractionServiceTests.cs (9)
57interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 416interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 1603interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None)); 1630interactionService.PromptForSelectionsAsync("Select:", visibleChoices, x => x, binding: binding, bindingChoices: bindingChoices, cancellationToken: CancellationToken.None)); 1656interactionService.PromptForSelectionsAsync( 1688interactionService.PromptForSelectionsAsync( 1749var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 1874var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 1912var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None);