18 writes to PromptForSelectionsCallback
Aspire.Cli.Tests (18)
Commands\AgentInitClientSelectionTests.cs (5)
365PromptForSelectionsCallback = (prompt, choices, _, _) => 406PromptForSelectionsCallback = (prompt, choices, formatter, _) => 448PromptForSelectionsCallback = (prompt, choices, _, _) => 506PromptForSelectionsCallback = (prompt, choices, _, _) => 534PromptForSelectionsCallback = (_, choices, _, _) => choices.Cast<object>()
Commands\AgentInitCommandTests.cs (4)
214PromptForSelectionsCallback = (prompt, choices, formatter, _) => 285interactionService.PromptForSelectionsCallback = (_, choices, _, _) => choices.Cast<object>() 364interactionService.PromptForSelectionsCallback = (_, choices, _, _) => choices.Cast<object>() 905PromptForSelectionsCallback = (prompt, choices, _, _) =>
Commands\InitCommandTests.cs (2)
760interactionService.PromptForSelectionsCallback = (_, choices, _, _) => choices.Cast<object>() 798interactionService.PromptForSelectionsCallback = (_, choices, _, _) =>
Commands\NewCommandLocalTemplateTests.cs (3)
150interaction.PromptForSelectionsCallback = (prompt, choices, _, _) => 462interaction.PromptForSelectionsCallback = (_, _, _, _) => useDatabase ? ["web"] : []; 1169interaction.PromptForSelectionsCallback = (prompt, choices, formatter, _) =>
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (3)
63interaction.PromptForSelectionsCallback = (_, _, _, _) => ["web"]; 102interaction.PromptForSelectionsCallback = (_, _, _, _) => throw new InvalidOperationException("Hidden choices must not prompt."); 192interaction.PromptForSelectionsCallback = (_, _, _, _) => ["web"];
Commands\NewCommandTests.cs (1)
3307interactionService.PromptForSelectionsCallback = (prompt, choices, _, _) =>
2 references to PromptForSelectionsCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
237if (PromptForSelectionsCallback is not null) 239var result = PromptForSelectionsCallback(promptText, choices, o => choiceFormatter((T)o), cancellationToken);