C# Class Gumbo.Wrappers.GumboWrapper

Inheritance: IDisposable, IXPathNavigable
Afficher le fichier Open project: rgripper/GumboBindings Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateOptions ( GumboWrapperOptions options ) : Gumbo.Bindings.GumboOptions
MarshalElementAndDescendants ( ElementWrapper element ) : void

Method Details

CreateNavigator() public méthode

public CreateNavigator ( ) : XPathNavigator
Résultat System.Xml.XPath.XPathNavigator

Dispose() public méthode

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

GetElementById() public méthode

public GetElementById ( string id ) : ElementWrapper
id string
Résultat ElementWrapper

GumboWrapper() public méthode

public GumboWrapper ( string html, GumboWrapperOptions options = null ) : System
html string
options GumboWrapperOptions
Résultat System

MarshalAll() public méthode

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

ToXDocument() public méthode

public ToXDocument ( ) : System.Xml.Linq.XDocument
Résultat System.Xml.Linq.XDocument