4 instantiations of ConsoleInteractionService
aspire (2)
Program.cs (2)
702var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment); 715return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (1)
20return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment ?? TestHelpers.CreateInteractiveHostEnvironment());
Utils\CliTestHelper.cs (1)
380return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
35 references to ConsoleInteractionService
aspire (4)
Commands\ConfigCommand.cs (1)
452if (InteractionService is ConsoleInteractionService consoleService)
Interaction\ExtensionInteractionService.cs (2)
30private readonly ConsoleInteractionService _consoleInteractionService; 37public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (1)
702var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
Aspire.Cli.Tests (31)
Interaction\ConsoleInteractionServiceTests.cs (31)
17private static ConsoleInteractionService CreateInteractionService(IAnsiConsole console, CliExecutionContext executionContext, ICliHostEnvironment? hostEnvironment = null) 28var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext); 41var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext); 62var interactionService = CreateInteractionService(console, executionContext); 87var interactionService = CreateInteractionService(console, executionContext); 112var interactionService = CreateInteractionService(console, executionContext); 143var interactionService = CreateInteractionService(console, executionContext); 170var interactionService = CreateInteractionService(console, executionContext); 195var interactionService = CreateInteractionService(console, executionContext); 222var interactionService = CreateInteractionService(console, executionContext); 242var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 256var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 271var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 286var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 307var interactionService = CreateInteractionService(console, executionContext); 340var interactionService = CreateInteractionService(console, executionContext); 373var interactionService = CreateInteractionService(console, executionContext); 400var interactionService = CreateInteractionService(console, executionContext); 427var interactionService = CreateInteractionService(console, executionContext); 456var interactionService = CreateInteractionService(console, executionContext); 485var interactionService = CreateInteractionService(console, executionContext); 512var interactionService = CreateInteractionService(console, executionContext); 539var interactionService = CreateInteractionService(console, executionContext); 565var interactionService = CreateInteractionService(console, executionContext); 592var interactionService = CreateInteractionService(console, executionContext); 620var interactionService = CreateInteractionService(console, executionContext); 647var interactionService = CreateInteractionService(console, executionContext); 675var interactionService = CreateInteractionService(console, executionContext); 702var interactionService = CreateInteractionService(console, executionContext); 731var interactionService = CreateInteractionService(console, executionContext); 760var interactionService = CreateInteractionService(console, executionContext);