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