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