MarkdownMinifier Constructor

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

Definition

Initializes a new instance of the MarkdownMinifier class.
public MarkdownMinifier(TextWriter writer, bool leaveOpen = false)

Parameters

writer TextWriter
The TextWriter to write the minimized content to.
leaveOpen bool optional
A value indicating whether the underlying writer should be left open when the MarkdownMinifier is disposed.

Exceptions

ArgumentNullException
Thrown when writer is null.