Class
TextTerminalWriter
ConsoleMonster.Output
An ITerminalWriter over a TextWriter the caller owns.
Inheritance
- object
- TextTerminalWriter
Constructors
public TextTerminalWriter(TextWriter writer) #Creates the writer.
Parameters
- writer System.IO.TextWriter
- The text writer; it is never disposed here.
Methods
public void Write(string text) #Writes text. Implementations may buffer until ITerminalWriter.Flush.
Parameters
- text string
- Text, possibly containing VT sequences.
Inherited Methods
Properties
public bool IsConsole { get; } #Whether this writer targets a real console handle (as opposed to a file, pipe or buffer).