8 implementations of PromptForSelectionsAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
193
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
Interaction\ExtensionInteractionService.cs (1)
251
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter,
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
1391
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
Commands\PublishCommandPromptingIntegrationTests.cs (1)
913
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
Commands\UpdateCommandTests.cs (1)
1056
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
Templating\DotNetTemplateFactoryTests.cs (1)
460
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
TestServices\TestConsoleInteractionService.cs (1)
69
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
TestServices\TestExtensionInteractionService.cs (1)
57
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
4 references to PromptForSelectionsAsync
aspire (3)
Commands\AgentInitCommand.cs (1)
134
var selected = await _interactionService.
PromptForSelectionsAsync
(
Commands\InitCommand.cs (2)
232
var selectedProjects = await InteractionService.
PromptForSelectionsAsync
(
285
initContext.ProjectsToAddServiceDefaultsTo = await InteractionService.
PromptForSelectionsAsync
(
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
1057
=> _innerService.
PromptForSelectionsAsync
(promptText, choices, choiceFormatter, cancellationToken);