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)
391return await _consoleInteractionService.PromptForSelectionsAsync(promptText, choices, choiceFormatter, preSelected, optional, binding, echoSelected, bindingChoices, cancellationToken);
Aspire.Cli.Tests (10)
Interaction\ConsoleInteractionServiceTests.cs (10)
676interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 1035interactionService.PromptForSelectionsAsync("Select items:", choices, x => x, cancellationToken: CancellationToken.None)); 2367interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None)); 2394interactionService.PromptForSelectionsAsync("Select:", visibleChoices, x => x, binding: binding, bindingChoices: bindingChoices, cancellationToken: CancellationToken.None)); 2420interactionService.PromptForSelectionsAsync( 2452interactionService.PromptForSelectionsAsync( 2513var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 2638var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 2676var result = await interactionService.PromptForSelectionsAsync("Select:", choices, x => x, binding: binding, cancellationToken: CancellationToken.None); 2696var result = await interactionService.PromptForSelectionsAsync(