51 references to ConsoleOutput
aspire (34)
Commands\AppHostLauncher.cs (1)
342interactionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\BaseCommand.cs (1)
47interactionService.Console = ConsoleOutput.Error;
Commands\ConfigCommand.cs (1)
480consoleService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\DescribeCommand.cs (2)
184_interactionService.DisplayRawText(json, ConsoleOutput.Standard); 241_interactionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\DocsGetCommand.cs (2)
85InteractionService.DisplayRawText(json, ConsoleOutput.Standard); 92InteractionService.DisplayRawText(formatted, ConsoleOutput.Standard);
Commands\DocsListCommand.cs (1)
72InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\DocsSearchCommand.cs (1)
86InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\DoctorCommand.cs (1)
86InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\ExtensionInternalCommand.cs (1)
52InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\LogsCommand.cs (2)
235_interactionService.DisplayRawText(json, ConsoleOutput.Standard); 335_interactionService.DisplayRawText(output, ConsoleOutput.Standard);
Commands\PsCommand.cs (2)
118_interactionService.DisplayRawText("[]", ConsoleOutput.Standard); 139_interactionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\Sdk\SdkDumpCommand.cs (1)
222InteractionService.DisplayRawText(output, consoleOverride: ConsoleOutput.Standard);
Commands\SecretListCommand.cs (1)
67InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\TelemetryLogsCommand.cs (2)
184_interactionService.DisplayRawText(json, ConsoleOutput.Standard); 213_interactionService.DisplayRawText(line, ConsoleOutput.Standard);
Commands\TelemetrySpansCommand.cs (2)
185_interactionService.DisplayRawText(json, ConsoleOutput.Standard); 214_interactionService.DisplayRawText(line, ConsoleOutput.Standard);
Commands\TelemetryTracesCommand.cs (2)
148_interactionService.DisplayRawText(json, ConsoleOutput.Standard); 222_interactionService.DisplayRawText(json, ConsoleOutput.Standard);
Interaction\ConsoleInteractionService.cs (6)
28/// Console used for human-readable messages; routes to stderr when <see cref="Console"/> is set to <see cref="ConsoleOutput.Error"/>. 30private IAnsiConsole MessageConsole => Console == ConsoleOutput.Error ? _errorConsole : _outConsole; 32public ConsoleOutput Console { get; set; } 312public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) 316var effectiveConsole = consoleOverride ?? Console; 317var target = effectiveConsole == ConsoleOutput.Error ? _errorConsole : _outConsole;
Interaction\ExtensionInteractionService.cs (2)
381public ConsoleOutput Console 387public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null)
Interaction\IInteractionService.cs (3)
24void DisplayRawText(string text, ConsoleOutput? consoleOverride = null); 37/// When set to <see cref="ConsoleOutput.Error"/>, display methods route output to stderr 40ConsoleOutput Console { get; set; }
Aspire.Cli.Tests (17)
Commands\BaseCommandTests.cs (3)
36var expected = expectErrorConsole ? ConsoleOutput.Error : ConsoleOutput.Standard;
Commands\NewCommandTests.cs (2)
1522public ConsoleOutput Console { get; set; } 1585public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) { }
Commands\PublishCommandPromptingIntegrationTests.cs (2)
854public ConsoleOutput Console { get; set; } 960public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) { }
Commands\UpdateCommandTests.cs (2)
1031public ConsoleOutput Console 1061public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) => _innerService.DisplayRawText(text, consoleOverride);
Projects\ExtensionGuestLauncherTests.cs (2)
158public ConsoleOutput Console { get; set; } 175public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (2)
455public ConsoleOutput Console { get; set; } 488public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null) { }
TestServices\TestExtensionInteractionService.cs (2)
16public ConsoleOutput Console { get; set; } 142public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null)
TestServices\TestInteractionService.cs (2)
18public ConsoleOutput Console { get; set; } 200public void DisplayRawText(string text, ConsoleOutput? consoleOverride = null)