C# Class Html_Agil_Xpath.Agil_Xpath

Afficher le fichier Open project: samfisher83/HTML-Agility-xpath-finder Class Usage Examples

Méthodes publiques

Méthode Description
LoadFromFile ( string path ) : Agil_Xpath
LoadFromString ( string html ) : Agil_Xpath
LoadFromURL ( string url ) : Agil_Xpath
findText ( string term ) : void
getHtml ( ) : string

Returns all html from web document

this ( string node ) : HtmlNode

Returns a single code

Private Methods

Méthode Description
Agil_Xpath ( ) : System
findNode ( HtmlNode node, string search, int count ) : void

Method Details

LoadFromFile() public static méthode

public static LoadFromFile ( string path ) : Agil_Xpath
path string
Résultat Agil_Xpath

LoadFromString() public static méthode

public static LoadFromString ( string html ) : Agil_Xpath
html string
Résultat Agil_Xpath

LoadFromURL() public static méthode

public static LoadFromURL ( string url ) : Agil_Xpath
url string
Résultat Agil_Xpath

findText() public méthode

public findText ( string term ) : void
term string
Résultat void

getHtml() public méthode

Returns all html from web document
public getHtml ( ) : string
Résultat string

this() public méthode

Returns a single code
public this ( string node ) : HtmlNode
node string xpath of node
Résultat HtmlAgilityPack.HtmlNode