Class PlainTextDocumentRenderer
An IDocumentRenderer<T> which writes to a TextWriter and discards all annotations.
Inheritance
- object
- PlainTextDocumentRenderer<object>
- PlainTextDocumentRenderer
Implements
Inherited Members
- PlainTextDocumentRenderer<object>.Text(ReadOnlyMemory<char>, CancellationToken)
- PlainTextDocumentRenderer<object>.NewLine(CancellationToken)
- PlainTextDocumentRenderer<object>.WhiteSpace(int, CancellationToken)
- PlainTextDocumentRenderer<object>.PushAnnotation(object, CancellationToken)
- PlainTextDocumentRenderer<object>.PopAnnotation(CancellationToken)
- PlainTextDocumentRenderer<object>.Writer
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()
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 |
---|---|---|
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.