TextRendererBase Class

A text based IMarkdownRenderer.

public abstract class TextRendererBase : RendererBase

See also

Inheritance
RendererBase TextRendererBase

Constructors

NameDescription
TextRendererBase(TextWriter)Initializes a new instance of the TextRendererBase class.

TextRendererBase(TextWriter)

TextRendererBase.cs

Initializes a new instance of the TextRendererBase class.

protected TextRendererBase(TextWriter writer)

Parameters

writer TextWriter
The writer.

Exceptions

ArgumentNullException

Properties

NameDescription
WriterGets or sets the writer.

Gets or sets the writer.

public TextWriter Writer { get; set; }

Property value

TextWriter

Exceptions

ArgumentNullException
if the value is null

Methods

NameDescription
Render(MarkdownObject)Renders the specified markdown object (returns the TextRendererBase.Writer as a render object).

Render(MarkdownObject)

TextRendererBase.cs

Renders the specified markdown object (returns the TextRendererBase.Writer as a render object).

public override object Render(MarkdownObject markdownObject)

Parameters

markdownObject MarkdownObject
The markdown object.

Returns

object