AnsiConsole AnsiConsole Class

Definition

public class AnsiConsole : object
Public Class AnsiConsole
    Inherits Object
Inheritance
AnsiConsoleAnsiConsole

Properties

OriginalForegroundColor OriginalForegroundColor

public ConsoleColor OriginalForegroundColor { get; }
Public ReadOnly Property OriginalForegroundColor As ConsoleColor
Value
ConsoleColor ConsoleColor

Writer Writer

public TextWriter Writer { get; }
Public ReadOnly Property Writer As TextWriter
Value
TextWriter TextWriter

Methods

GetError() GetError()

public static AnsiConsole GetError()
Public Shared Function GetError As AnsiConsole
Returns

GetOutput() GetOutput()

public static AnsiConsole GetOutput()
Public Shared Function GetOutput As AnsiConsole
Returns

Write(String) Write(String)

public void Write(string message)
Public Sub Write(message As String)
Parameters
message
String String

WriteLine(String) WriteLine(String)

public void WriteLine(string message)
Public Sub WriteLine(message As String)
Parameters
message
String String