4 instantiations of ConsoleInteractionService
aspire (2)
Program.cs (2)
667var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment); 680return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
Aspire.Cli.Tests (2)
Interaction\ConsoleInteractionServiceTests.cs (1)
19return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment ?? TestHelpers.CreateInteractiveHostEnvironment());
Utils\CliTestHelper.cs (1)
357return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
27 references to ConsoleInteractionService
aspire (4)
Commands\ConfigCommand.cs (1)
415if (InteractionService is ConsoleInteractionService consoleService)
Interaction\ExtensionInteractionService.cs (2)
29private readonly ConsoleInteractionService _consoleInteractionService; 36public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (1)
667var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
Aspire.Cli.Tests (23)
Interaction\ConsoleInteractionServiceTests.cs (23)
16private static ConsoleInteractionService CreateInteractionService(IAnsiConsole console, CliExecutionContext executionContext, ICliHostEnvironment? hostEnvironment = null) 27var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext); 40var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext); 61var interactionService = CreateInteractionService(console, executionContext); 86var interactionService = CreateInteractionService(console, executionContext); 111var interactionService = CreateInteractionService(console, executionContext); 142var interactionService = CreateInteractionService(console, executionContext); 169var interactionService = CreateInteractionService(console, executionContext); 194var interactionService = CreateInteractionService(console, executionContext); 221var interactionService = CreateInteractionService(console, executionContext); 241var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 255var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 270var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 285var interactionService = CreateInteractionService(AnsiConsole.Console, executionContext, hostEnvironment); 306var interactionService = CreateInteractionService(console, executionContext); 339var interactionService = CreateInteractionService(console, executionContext); 372var interactionService = CreateInteractionService(console, executionContext); 399var interactionService = CreateInteractionService(console, executionContext); 427var interactionService = CreateInteractionService(console, executionContext); 456var interactionService = CreateInteractionService(console, executionContext); 485var interactionService = CreateInteractionService(console, executionContext); 510var interactionService = CreateInteractionService(console, executionContext); 537var interactionService = CreateInteractionService(console, executionContext);