Gutenberg

Namespace Gutenberg.Rendering

Classes

ConsoleDocumentRenderer

An IDocumentRenderer<T> which writes formatted text to the Console.

ConsoleFormattingAnnotation

A base class for annotations which the ConsoleDocumentRenderer understands

ConsoleFormattingAnnotation.BackgroundColor

Set the BackgroundColor

ConsoleFormattingAnnotation.ForegroundColor

Set the ForegroundColor

DocumentRendererExtensions

Extension methods for IDocumentRenderer<T>

MapAnnotationsDocumentRenderer<T, U>

An IDocumentRenderer<T> which wraps an IDocumentRenderer<T> by applying an asynchronous Func<T,TResult> to all of the annotations in the input Document<T>.

PlainTextDocumentRenderer

An IDocumentRenderer<T> which writes to a TextWriter and discards all annotations.

PlainTextDocumentRenderer<T>

An IDocumentRenderer<T> which writes to a TextWriter and discards all annotations.

StackMachineDocumentRenderer<T>

A handy base class for IDocumentRenderer<T> implementations which manage annotations in a stack.