7 implementations of PromptForSelectionsAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
119
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)
192
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter,
Aspire.Cli.Tests (5)
Commands\NewCommandTests.cs (1)
663
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)
954
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)
371
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)
44
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)
50
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, CancellationToken cancellationToken = default) where T : notnull
2 references to PromptForSelectionsAsync
aspire (2)
Commands\InitCommand.cs (2)
187
var selectedProjects = await InteractionService.
PromptForSelectionsAsync
(
240
initContext.ProjectsToAddServiceDefaultsTo = await InteractionService.
PromptForSelectionsAsync
(