WrappedTextWriter Constructor

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

Definition

Initializes a new instance of the WrappedTextWriter class.
protected WrappedTextWriter(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 WrappedTextWriter is disposed.

Exceptions

ArgumentNullException
Thrown when writer is null.