12 writes to PromptForSelectionCallback
Aspire.Cli.Tests (12)
Commands\AddCommandTests.cs (4)
555
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
603
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
651
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
705
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
Commands\UpdateCommandTests.cs (8)
365
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
412
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
508
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
575
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
702
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
760
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
825
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
881
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
2 references to PromptForSelectionCallback
Aspire.Cli.Tests (2)
TestServices\TestConsoleInteractionService.cs (2)
49
if (
PromptForSelectionCallback
is not null)
55
var result =
PromptForSelectionCallback
(promptText, choices, o => choiceFormatter((T)o), cancellationToken);