Gutenberg

Class PlainTextDocumentRenderer

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

Inheritance
Implements
Inherited Members
Declaration
public class PlainTextDocumentRenderer : PlainTextDocumentRenderer<object>, IDocumentRenderer<object>
Remarks

This is a convenient subclass of PlainTextDocumentRenderer<T> which simply sets the type parameter to object, without changing any behaviours.

Constructors

PlainTextDocumentRenderer(TextWriter)

Create a PlainTextDocumentRenderer.

Declaration
public PlainTextDocumentRenderer(TextWriter writer)
Parameters
Type Name Description

TextWriter

writer

The output TextWriter.

Remarks

This is a convenient subclass of PlainTextDocumentRenderer<T> which simply sets the type parameter to object, without changing any behaviours.

Implements

IDocumentRenderer<T>

Extension Methods

DocumentRendererExtensions.MapAnnotations<T, U>(IDocumentRenderer<U>, Func<T, U>)
DocumentRendererExtensions.MapAnnotations<T, U>(IDocumentRenderer<U>, Func<T, ValueTask<U>>)