48 references to ConsoleOutput
aspire (33)
Commands\AppHostLauncher.cs (1)
333
interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\BaseCommand.cs (1)
47
interactionService.Console =
ConsoleOutput
.Error;
Commands\ConfigCommand.cs (1)
455
consoleService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\DescribeCommand.cs (2)
184
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
241
_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)
86
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\ExtensionInternalCommand.cs (1)
52
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\LogsCommand.cs (2)
236
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
336
_interactionService.DisplayRawText(output,
ConsoleOutput
.Standard);
Commands\PsCommand.cs (2)
118
_interactionService.DisplayRawText("[]",
ConsoleOutput
.Standard);
139
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\SecretListCommand.cs (1)
67
InteractionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\TelemetryLogsCommand.cs (2)
185
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
214
_interactionService.DisplayRawText(line,
ConsoleOutput
.Standard);
Commands\TelemetrySpansCommand.cs (2)
186
_interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
215
_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"/>.
30
private IAnsiConsole MessageConsole => Console ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
32
public
ConsoleOutput
Console { get; set; }
251
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
255
var
effectiveConsole = consoleOverride ?? Console;
256
var target = effectiveConsole ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
Interaction\ExtensionInteractionService.cs (2)
364
public
ConsoleOutput
Console
370
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
Interaction\IInteractionService.cs (3)
23
void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null);
36
/// When set to <see cref="
ConsoleOutput
.Error"/>, display methods route output to stderr
39
ConsoleOutput
Console { get; set; }
Aspire.Cli.Tests (15)
Commands\BaseCommandTests.cs (3)
36
var
expected = expectErrorConsole ?
ConsoleOutput
.Error :
ConsoleOutput
.Standard;
Commands\NewCommandTests.cs (2)
1355
public
ConsoleOutput
Console { get; set; }
1413
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\PublishCommandPromptingIntegrationTests.cs (2)
854
public
ConsoleOutput
Console { get; set; }
954
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\UpdateCommandTests.cs (2)
1033
public
ConsoleOutput
Console
1063
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) => _innerService.DisplayRawText(text, consoleOverride);
Templating\DotNetTemplateFactoryTests.cs (2)
455
public
ConsoleOutput
Console { get; set; }
488
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
TestServices\TestConsoleInteractionService.cs (2)
14
public
ConsoleOutput
Console { get; set; }
123
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
TestServices\TestExtensionInteractionService.cs (2)
15
public
ConsoleOutput
Console { get; set; }
136
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)