8 implementations of PromptForSelectionsAsync
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
350
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
Interaction\ExtensionInteractionService.cs (1)
339
public async Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter,
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1200
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
Commands\UpdateCommandTests.cs (1)
3528
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
Projects\ExtensionGuestLauncherTests.cs (1)
170
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
379
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
TestServices\TestExtensionInteractionService.cs (1)
92
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
TestServices\TestInteractionService.cs (1)
209
public Task<IReadOnlyList<T>>
PromptForSelectionsAsync
<T>(string promptText, IEnumerable<T> choices, Func<T, string> choiceFormatter, IEnumerable<T>? preSelected = null, bool optional = false, PromptBinding<string?>? binding = null, bool echoSelected = true, IEnumerable<T>? bindingChoices = null, CancellationToken cancellationToken = default) where T : notnull
3 references to PromptForSelectionsAsync
aspire (2)
Commands\AgentInitCommand.cs (2)
240
var selectedLocations = await InteractionService.
PromptForSelectionsAsync
(
319
var selectedItems = await InteractionService.
PromptForSelectionsAsync
(
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3529
=> _innerService.
PromptForSelectionsAsync
(promptText, choices, choiceFormatter, preSelected, optional, binding, echoSelected, bindingChoices, cancellationToken);