7 implementations of PromptForSelectionsAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
105
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)
190
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter,
Aspire.Cli.Tests (5)
Commands\NewCommandTests.cs (1)
662
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)
943
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)
388
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)
49
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)
176
var selectedProjects = await InteractionService.
PromptForSelectionsAsync
(
229
initContext.ProjectsToAddServiceDefaultsTo = await InteractionService.
PromptForSelectionsAsync
(