Class OutputBase
Abstract base class to assist with implementing IConsoleOutput.
public abstract class OutputBase
- Inheritance
-
OutputBase
- Derived
- Inherited Members
Methods
- AppendOrWriteAttribute(StringBuilder, Attribute, TextStyle)
Changes the color and text style of the console to the given
attrandredrawTextStyle. If command can be buffered in line with other output (e.g. CSI sequence) then it should be appended tooutputotherwise the relevant output state should be flushed directly (e.g. by calling relevant win 32 API method)
- SetCursorPositionImpl(int, int)
When overriden in derived class, positions the terminal output cursor to the specified point on the screen.
- SetCursorVisibility(CursorVisibility)
Changes the visibility of the cursor in the terminal to the specified
visibilitye.g. the flashing indicator, invisible, box indicator etc.
- Write(StringBuilder)
Output the contents of the
outputto the console.
- Write(IOutputBuffer)
Write the contents of the
bufferto the console