4 instantiations of ConsoleInteractionService
aspire (2)
Program.cs (2)
804var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment); 817return 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)
389return new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
45 references to ConsoleInteractionService
aspire (4)
Commands\ConfigCommand.cs (1)
477if (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)
804var consoleInteractionService = new ConsoleInteractionService(consoleEnvironment, executionContext, hostEnvironment);
Aspire.Cli.Tests (41)
Interaction\ConsoleInteractionServiceTests.cs (41)
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); 457var interactionService = CreateInteractionService(console, executionContext); 486var interactionService = CreateInteractionService(console, executionContext); 513var interactionService = CreateInteractionService(console, executionContext); 540var interactionService = CreateInteractionService(console, executionContext); 566var interactionService = CreateInteractionService(console, executionContext); 593var interactionService = CreateInteractionService(console, executionContext); 621var interactionService = CreateInteractionService(console, executionContext); 648var interactionService = CreateInteractionService(console, executionContext); 676var interactionService = CreateInteractionService(console, executionContext); 703var interactionService = CreateInteractionService(console, executionContext); 732var interactionService = CreateInteractionService(console, executionContext); 761var interactionService = CreateInteractionService(console, executionContext); 870var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 903var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 918var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 935var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 950var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 965var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 980var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 995var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 1011var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter); 1032var safeFormatter = ConsoleInteractionService.MakeSafeFormatter(callerFormatter);