8 instantiations of ConsoleInteractionService
aspire (1)
Program.cs (1)
239var consoleInteractionService = new ConsoleInteractionService(ansiConsole);
Aspire.Cli.Tests (7)
Interaction\ConsoleInteractionServiceTests.cs (6)
16var interactionService = new ConsoleInteractionService(AnsiConsole.Console); 36var interactionService = new ConsoleInteractionService(console); 60var interactionService = new ConsoleInteractionService(console); 84var interactionService = new ConsoleInteractionService(console); 114var interactionService = new ConsoleInteractionService(console); 140var interactionService = new ConsoleInteractionService(console);
Utils\CliTestHelper.cs (1)
206return new ConsoleInteractionService(ansiConsole);
10 references to ConsoleInteractionService
aspire (4)
Interaction\ExtensionInteractionService.cs (2)
23private readonly ConsoleInteractionService _consoleInteractionService; 30public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (2)
239var consoleInteractionService = new ConsoleInteractionService(ansiConsole); 252builder.Services.AddSingleton<IInteractionService, ConsoleInteractionService>();
Aspire.Cli.Tests (6)
Interaction\ConsoleInteractionServiceTests.cs (6)
16var interactionService = new ConsoleInteractionService(AnsiConsole.Console); 36var interactionService = new ConsoleInteractionService(console); 60var interactionService = new ConsoleInteractionService(console); 84var interactionService = new ConsoleInteractionService(console); 114var interactionService = new ConsoleInteractionService(console); 140var interactionService = new ConsoleInteractionService(console);