21 instantiations of ConsoleInteractionService
aspire (2)
Program.cs (2)
398
var consoleInteractionService = new
ConsoleInteractionService
(ansiConsole, executionContext, hostEnvironment);
411
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)
25
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
48
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
75
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
107
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
136
var interactionService = new
ConsoleInteractionService
(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
Utils\CliTestHelper.cs (1)
285
return new
ConsoleInteractionService
(ansiConsole, executionContext, hostEnvironment);
21 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)
398
var
consoleInteractionService = new ConsoleInteractionService(ansiConsole, executionContext, hostEnvironment);
Aspire.Cli.Tests (18)
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)
25
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
48
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
75
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
107
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());
136
var
interactionService = new ConsoleInteractionService(console, executionContext, TestHelpers.CreateInteractiveHostEnvironment());