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
writerTextWriter- The TextWriter to write the minimized content to.
leaveOpenbool optional- Whether to leave the underlying writer open on disposal.
Exceptions
- ArgumentNullException
- Thrown when
writerisnull.
