20 writes to PromptForSelectionCallback
Aspire.Cli.Tests (20)
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 (5)
714
testInteractionService.
PromptForSelectionCallback
= (promptText, choices, formatter, ct) =>
855
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) => choices.Cast<object>().First()
920
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) => choices.Cast<object>().First()
1024
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) =>
1201
PromptForSelectionCallback
= (promptText, choices, choiceFormatter, cancellationToken) =>
Commands\UpdateCommandTests.cs (10)
366
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
413
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
509
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
576
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
700
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
758
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
823
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
879
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
918
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
963
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
2 references to PromptForSelectionCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
97
if (
PromptForSelectionCallback
is not null)
99
var result =
PromptForSelectionCallback
(promptText, choices, o => choiceFormatter((T)o), cancellationToken);