HtmlKit.HtmlWriter.Flush C# (CSharp) Method

Flush() public method

Flush any remaining state to the output stream.
Flushes any remaining state to the output stream.
/// The has been disposed. ///
public Flush ( ) : void
return void
		public void Flush ()
		{
			CheckDisposed ();

			if (WriterState != HtmlWriterState.Default) {
				WriterState = HtmlWriterState.Default;
				html.Write (empty ? "/>" : ">");
				empty = false;
			}

			html.Flush ();
		}