12 writes to PromptForSelectionCallback
Aspire.Cli.Tests (12)
Commands\AddCommandTests.cs (4)
554
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
602
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
650
mockInteraction.
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
704
PromptForSelectionCallback
= (message, choices, formatter, ct) =>
Commands\UpdateCommandTests.cs (8)
364
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
411
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
507
PromptForSelectionCallback
= (prompt, choices, formatter, ct) =>
574
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) =>
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);