51 references to ConsoleOutput
aspire (34)
Commands\AppHostLauncher.cs (1)
342
interactionService.DisplayRawText(json,
ConsoleOutput
.Standard);
Commands\BaseCommand.cs (1)
47
interactionService.Console =
ConsoleOutput
.Error;
Commands\ConfigCommand.cs (1)
480
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)
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)
222
InteractionService.DisplayRawText(output, consoleOverride:
ConsoleOutput
.Standard);
Commands\SecretListCommand.cs (1)
67
InteractionService.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"/>.
30
private IAnsiConsole MessageConsole => Console ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
32
public
ConsoleOutput
Console { get; set; }
312
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
316
var
effectiveConsole = consoleOverride ?? Console;
317
var target = effectiveConsole ==
ConsoleOutput
.Error ? _errorConsole : _outConsole;
Interaction\ExtensionInteractionService.cs (2)
381
public
ConsoleOutput
Console
387
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
Interaction\IInteractionService.cs (3)
24
void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null);
37
/// When set to <see cref="
ConsoleOutput
.Error"/>, display methods route output to stderr
40
ConsoleOutput
Console { get; set; }
Aspire.Cli.Tests (17)
Commands\BaseCommandTests.cs (3)
36
var
expected = expectErrorConsole ?
ConsoleOutput
.Error :
ConsoleOutput
.Standard;
Commands\NewCommandTests.cs (2)
1522
public
ConsoleOutput
Console { get; set; }
1585
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\PublishCommandPromptingIntegrationTests.cs (2)
854
public
ConsoleOutput
Console { get; set; }
960
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
Commands\UpdateCommandTests.cs (2)
1031
public
ConsoleOutput
Console
1061
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) => _innerService.DisplayRawText(text, consoleOverride);
Projects\ExtensionGuestLauncherTests.cs (2)
158
public
ConsoleOutput
Console { get; set; }
175
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (2)
455
public
ConsoleOutput
Console { get; set; }
488
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null) { }
TestServices\TestExtensionInteractionService.cs (2)
16
public
ConsoleOutput
Console { get; set; }
142
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)
TestServices\TestInteractionService.cs (2)
18
public
ConsoleOutput
Console { get; set; }
200
public void DisplayRawText(string text,
ConsoleOutput
? consoleOverride = null)