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
writerTextWriter- The TextWriter to write the minimized content to.
leaveOpenbool optional- A value indicating whether the underlying writer should be left open when the MarkdownMinifier is disposed.
Exceptions
- ArgumentNullException
- Thrown when
writerisnull.
