21 instantiations of ConsoleInteractionService
aspire (2)
Program.cs (2)
299
var consoleInteractionService = new
ConsoleInteractionService
(ansiConsole, executionContext, hostEnvironment);
312
return new
ConsoleInteractionService
(ansiConsole, executionContext, hostEnvironment);
Aspire.Cli.Tests (19)
Interaction\ConsoleInteractionServiceTests.cs (13)
18
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
31
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
52
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
77
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
102
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
133
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
160
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
185
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
212
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
232
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, hostEnvironment);
246
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, hostEnvironment);
261
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, hostEnvironment);
276
var interactionService = new
ConsoleInteractionService
(AnsiConsole.Console, executionContext, hostEnvironment);
Interaction\SpectreConsoleLoggerProviderTests.cs (5)
33
return new
ConsoleInteractionService
(ansiConsole, context, TestHelpers.CreateInteractiveHostEnvironment());
66
return new
ConsoleInteractionService
(ansiConsole, context, TestHelpers.CreateInteractiveHostEnvironment());
104
return new
ConsoleInteractionService
(ansiConsole, context, TestHelpers.CreateInteractiveHostEnvironment());
147
return new
ConsoleInteractionService
(ansiConsole, context, TestHelpers.CreateInteractiveHostEnvironment());
187
return new
ConsoleInteractionService
(ansiConsole, context, TestHelpers.CreateInteractiveHostEnvironment());
Utils\CliTestHelper.cs (1)
252
return new
ConsoleInteractionService
(ansiConsole, executionContext, hostEnvironment);
16 references to ConsoleInteractionService
aspire (3)
Interaction\ExtensionInteractionService.cs (2)
29
private readonly
ConsoleInteractionService
_consoleInteractionService;
36
public ExtensionInteractionService(
ConsoleInteractionService
consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (1)
299
var
consoleInteractionService = new ConsoleInteractionService(ansiConsole, executionContext, hostEnvironment);
Aspire.Cli.Tests (13)
Interaction\ConsoleInteractionServiceTests.cs (13)
18
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
31
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
52
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
77
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
102
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
133
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
160
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
185
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
212
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
232
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, hostEnvironment);
246
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, hostEnvironment);
261
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, hostEnvironment);
276
var
interactionService = new ConsoleInteractionService(AnsiConsole.Console, executionContext, hostEnvironment);