18 writes to PromptForSelectionsCallback
Aspire.Cli.Tests (18)
Commands\AgentInitClientSelectionTests.cs (5)
365
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
406
PromptForSelectionsCallback
= (prompt, choices, formatter, _) =>
448
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
506
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
534
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
Commands\AgentInitCommandTests.cs (4)
214
PromptForSelectionsCallback
= (prompt, choices, formatter, _) =>
285
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
364
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
905
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
Commands\InitCommandTests.cs (2)
760
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
798
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
Commands\NewCommandLocalTemplateTests.cs (3)
150
interaction.
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
462
interaction.
PromptForSelectionsCallback
= (_, _, _, _) => useDatabase ? ["web"] : [];
1169
interaction.
PromptForSelectionsCallback
= (prompt, choices, formatter, _) =>
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (3)
63
interaction.
PromptForSelectionsCallback
= (_, _, _, _) => ["web"];
102
interaction.
PromptForSelectionsCallback
= (_, _, _, _) => throw new InvalidOperationException("Hidden choices must not prompt.");
192
interaction.
PromptForSelectionsCallback
= (_, _, _, _) => ["web"];
Commands\NewCommandTests.cs (1)
3307
interactionService.
PromptForSelectionsCallback
= (prompt, choices, _, _) =>
2 references to PromptForSelectionsCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
237
if (
PromptForSelectionsCallback
is not null)
239
var result =
PromptForSelectionsCallback
(promptText, choices, o => choiceFormatter((T)o), cancellationToken);