Interface
ITerminalWriter
ConsoleMonster.Output
The lowest output sink: turns already-encoded text (including VT sequences) into calls or bytes. On a real Windows console handle the text is written as UTF-16 through WriteConsoleW, so Unicode shows correctly whatever the code page; redirected output is written as UTF-8. Writers never go through Console.Out, because a live session redirects it into a log region.
Usage
Explore 24 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 9
- Property ConsoleMonsterLoggerOptions.Writer
- Property ConsoleMonsterTarget.Writer
- Property ConsoleMonsterSinkOptions.Writer
- Property HeadlessTerminal.Writer
- Property ConsoleTarget.Writer
- Property ITerminalTarget.Writer
- Property NullTarget.Writer
- Property RecordingTarget.Writer
- Property WriterTarget.Writer
Accepted by parameters 15
- Extension method ConsoleMonsterLoggerOptions.Writer
- Method ConsoleMonsterLoggerOptionsFluent.Writer
- Method ConsoleImage.Write
- Extension method IWidget.Show
- Method Terminal.CreateInlineOutput
- Method Terminal.CreateOutput
- Method Terminal.Write
- Method Terminal.WriteLines
- Method Terminal.WriteMarkup
- Method Terminal.WriteMarkupLine
- Method Terminal.WriteRich
- Method UiConstruction.Show
- Method WidgetPipeline.Show
- Extension method ChartOptions.Show
- Extension method ProgressOptions.Show
Methods
public abstract void Flush() #Flushes buffered text to the device.
public abstract void Write(string text) #Writes text. Implementations may buffer until ITerminalWriter.Flush.
Parameters
- text string
- Text, possibly containing VT sequences.
Properties
public abstract bool IsConsole { get; } #Whether this writer targets a real console handle (as opposed to a file, pipe or buffer).