19 writes to PromptForSelectionCallback
Aspire.Cli.Tests (19)
Commands\AddCommandTests.cs (5)
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) =>
767
PromptForSelectionCallback
= (message, choices, formatter, ct) => choices.Cast<object>().First()
Commands\NewCommandTests.cs (4)
717
testInteractionService.
PromptForSelectionCallback
= (promptText, choices, formatter, ct) =>
858
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) => choices.Cast<object>().First()
1033
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) =>
1210
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) =>
Commands\UpdateCommandTests.cs (10)
367
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
414
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
510
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
577
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
701
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
759
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
824
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
880
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
919
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
964
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
2 references to PromptForSelectionCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
98
if (
PromptForSelectionCallback
is not null)
100
var result =
PromptForSelectionCallback
(promptText, choices, o => choiceFormatter((T)o), cancellationToken);