10 writes to PromptForSelectionsCallback
Aspire.Cli.Tests (10)
Commands\AgentInitCommandTests.cs (7)
29
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
107
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) => choices.Cast<object>()
185
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
228
interactionService.
PromptForSelectionsCallback
= (_, choices, formatter, _) =>
292
interactionService.
PromptForSelectionsCallback
= (_, choices, formatter, _) =>
340
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
486
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
Commands\InitCommandTests.cs (2)
670
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
721
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
Commands\NewCommandTests.cs (1)
3231
interactionService.
PromptForSelectionsCallback
= (_, choices, _, _) =>
2 references to PromptForSelectionsCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
221
if (
PromptForSelectionsCallback
is not null)
223
var result =
PromptForSelectionsCallback
(promptText, choices, o => choiceFormatter((T)o), cancellationToken);