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