16 writes to PromptForSelectionsCallback
Aspire.Cli.Tests (16)
Commands\AgentInitClientSelectionTests.cs (5)
289PromptForSelectionsCallback = (prompt, choices, _, _) => 331PromptForSelectionsCallback = (prompt, choices, formatter, _) => 468PromptForSelectionsCallback = (prompt, choices, formatter, _) => 538PromptForSelectionsCallback = (prompt, choices, _, _) => 582PromptForSelectionsCallback = (prompt, choices, _, _) =>
Commands\AgentInitCommandTests.cs (2)
331PromptForSelectionsCallback = (prompt, choices, formatter, _) => 680PromptForSelectionsCallback = (prompt, choices, _, _) =>
Commands\InitCommandTests.cs (2)
920interactionService.PromptForSelectionsCallback = (_, choices, _, _) => choices.Cast<object>() 956interactionService.PromptForSelectionsCallback = (_, choices, _, _) =>
Commands\NewCommandLocalTemplateTests.cs (3)
151interaction.PromptForSelectionsCallback = (prompt, choices, _, _) => 463interaction.PromptForSelectionsCallback = (_, _, _, _) => useDatabase ? ["web"] : []; 1170interaction.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)
3436interactionService.PromptForSelectionsCallback = (prompt, choices, _, _) =>
2 references to PromptForSelectionsCallback
Aspire.Cli.Tests (2)
TestServices\TestInteractionService.cs (2)
245if (PromptForSelectionsCallback is not null) 247var result = PromptForSelectionsCallback(promptText, choices, o => choiceFormatter((T)o), cancellationToken);