HtmlKit.HtmlWriter.HtmlWriter C# (CSharp) Method

HtmlWriter() public method

Initializes a new instance of the HtmlKit.HtmlWriter class.
Creates a new HtmlWriter.
/// is null. /// -or- /// is null. ///
public HtmlWriter ( Stream stream, Encoding encoding ) : System
stream Stream The output stream.
encoding System.Text.Encoding The encoding to use for the output.
return System
		public HtmlWriter (Stream stream, Encoding encoding)
		{
			if (stream == null)
				throw new ArgumentNullException ("stream");

			if (encoding == null)
				throw new ArgumentNullException ("encoding");

			html = new StreamWriter (stream, encoding, 4096);
		}

Same methods

HtmlWriter::HtmlWriter ( TextWriter output ) : System