API Reference
Class
AngleSharpDomServices
Selector and HTML serialization services over owned nodes. Performs no network access or script execution.
Inheritance
- Object
- AngleSharpDomServices
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property AngleSharpDomServices.Instance
Constructors
public AngleSharpDomServices() #Methods
public virtual Boolean Matches(HtmlElement element, String selector) #Returns:
BooleanParameters
- element OfficeIMO.Html.Dom.HtmlElement
- selector System.String
public virtual IReadOnlyList<HtmlElement> QuerySelectorAll(HtmlNode scope, String selector) #Returns:
IReadOnlyList<HtmlElement>Parameters
- scope OfficeIMO.Html.Dom.HtmlNode
- selector System.String
public virtual String Serialize(HtmlNode node, Boolean childrenOnly = false) #Returns:
StringParameters
- node OfficeIMO.Html.Dom.HtmlNode
- childrenOnly System.Boolean = false
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public static AngleSharpDomServices Instance { get; } #Shared stateless syntax services.