C# Class Gumbo.Wrappers.GumboWrapper

Inheritance: IDisposable, IXPathNavigable
Datei anzeigen Open project: rgripper/GumboBindings Class Usage Examples

Public Methods

Method Description
CreateNavigator ( ) : XPathNavigator
Dispose ( ) : void

Disposes all unmanaged data. Any subsequent calls to get nodes' children not previously marshalled will result in exception.

GetElementById ( string id ) : ElementWrapper
GumboWrapper ( string html, GumboWrapperOptions options = null ) : System
MarshalAll ( ) : void

Marshals all nodes. Does nothing if has already been called.

ToXDocument ( ) : System.Xml.Linq.XDocument

Private Methods

Method Description
CreateOptions ( GumboWrapperOptions options ) : Gumbo.Bindings.GumboOptions
MarshalElementAndDescendants ( ElementWrapper element ) : void

Method Details

CreateNavigator() public method

public CreateNavigator ( ) : XPathNavigator
return System.Xml.XPath.XPathNavigator

Dispose() public method

Disposes all unmanaged data. Any subsequent calls to get nodes' children not previously marshalled will result in exception.
public Dispose ( ) : void
return void

GetElementById() public method

public GetElementById ( string id ) : ElementWrapper
id string
return ElementWrapper

GumboWrapper() public method

public GumboWrapper ( string html, GumboWrapperOptions options = null ) : System
html string
options GumboWrapperOptions
return System

MarshalAll() public method

Marshals all nodes. Does nothing if has already been called.
public MarshalAll ( ) : void
return void

ToXDocument() public method

public ToXDocument ( ) : System.Xml.Linq.XDocument
return System.Xml.Linq.XDocument