MarkupWriter Constructor

Namespace
Kampute.DocToolkit.IO.Writers
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the MarkupWriter class.
protected MarkupWriter(TextWriter writer, bool leaveOpen)

Parameters

writer TextWriter
The TextWriter to write encoded text to.
leaveOpen bool
A value indicating whether the underlying writer should be left open when the MarkupWriter is disposed.

Exceptions

ArgumentNullException
Thrown when writer is null.