HtmlMinifier Constructor

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

Definition

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

Parameters

writer TextWriter
The TextWriter to write the minimized content to.
leaveOpen bool optional
Whether to leave the underlying writer open on disposal.

Exceptions

ArgumentNullException
Thrown when writer is null.