43 references to ConsoleOutput
aspire (31)
Commands\ConfigCommand.cs (1)
435
consoleService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\DescribeCommand.cs (2)
182
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
220
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\DocsGetCommand.cs (2)
85
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
92
InteractionService.DisplayRawText(formatted,
ConsoleOutput
.Standard);
Commands\DocsListCommand.cs (1)
72
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\DocsSearchCommand.cs (1)
86
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\DoctorCommand.cs (1)
89
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\ExtensionInternalCommand.cs (1)
52
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\LogsCommand.cs (2)
268
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
381
_interactionService.DisplayRawText(output,
ConsoleOutput
.Standard);
Commands\PsCommand.cs (1)
124
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\RunCommand.cs (2)
637
_interactionService.Console =
ConsoleOutput
.Error;
891
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\TelemetryLogsCommand.cs (2)
175
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
204
_interactionService.DisplayRawText(line,
ConsoleOutput
.Standard);
Commands\TelemetrySpansCommand.cs (2)
176
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
206
_interactionService.DisplayRawText(line,
ConsoleOutput
.Standard);
Commands\TelemetryTracesCommand.cs (2)
135
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
204
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Interaction\ConsoleInteractionService.cs (6)
27
/// Console used for human-readable messages; routes to stderr when <see cref="Console"/> is set to <see cref="
ConsoleOutput
.Error"/>.
29
private IAnsiConsole MessageConsole => Console ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
31
public
ConsoleOutput
Console { get; set; }
228
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
232
var
effectiveConsole = consoleOverride ?? Console;
233
var target = effectiveConsole ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
Interaction\ExtensionInteractionService.cs (2)
302
public
ConsoleOutput
Console
308
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
Interaction\IInteractionService.cs (3)
21
void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null);
32
/// When set to <see cref="
ConsoleOutput
.Error"/>, display methods route output to stderr
35
ConsoleOutput
Console { get; set; }
Aspire.Cli.Tests (12)
Commands\NewCommandTests.cs (2)
899
public
ConsoleOutput
Console { get; set; }
955
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\PublishCommandPromptingIntegrationTests.cs (2)
853
public
ConsoleOutput
Console { get; set; }
950
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\UpdateCommandTests.cs (2)
943
public
ConsoleOutput
Console
971
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) => _innerService.DisplayRawText(text, consoleOverride);
Templating\DotNetTemplateFactoryTests.cs (2)
412
public
ConsoleOutput
Console { get; set; }
442
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
TestServices\TestConsoleInteractionService.cs (2)
13
public
ConsoleOutput
Console { get; set; }
117
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
TestServices\TestExtensionInteractionService.cs (2)
14
public
ConsoleOutput
Console { get; set; }
130
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)