AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0-beta.470" />

 IConstructableDocument

Represents a constructable document.
IDisposable Builder { get; set; }

Builder instance to dispose and tie lifetime to the document.

Document element of the document.

Head element of the document.

bool IsLoading { get; }

Is the document currently loading?

QuirksMode QuirksMode { get; set; }

Quirks mode of the document.

TextSource Source { get; }

Document source.

void AddComment(ref StructHtmlToken token)

Ads a new dom representation of a comment and adds it to the document.

Applies the manifest to the document.

void Clear()

Clears the document.

Finishes writing to a document.

Performs a microtask checkpoint using the mutations host. Queue a mutation observer compound microtask.

Provides a stable state by running the synchronous sections of asynchronously-running algorithms until the asynchronous algorithm can be resumed (if appropriate).

void TrackError(Exception exception)

Tracks the given exception which happened during parsing.

Spins the event loop until all stylesheets are downloaded (if required) and all scripts are ready to be parser executed. http://www.w3.org/html/wg/drafts/html/master/syntax.html#the-end (bullet 3)