C# Class SimpleBrowser.HtmlElement

Implements an HTML element corresponding with an XElement from the DOM
Afficher le fichier Open project: aqueduct/SimpleBrowser Class Usage Examples

Private Properties

Свойство Type Description
GetAttributeValue string

Méthodes publiques

Méthode Description
Click ( ) : ClickResult
DoAspNetLinkPostBack ( ) : void
HtmlElement ( System.Xml.Linq.XElement element ) : System
Invalidate ( ) : void
SubmitForm ( string url = null, HtmlElement clickedElement = null ) : bool

Méthodes protégées

Méthode Description
GetAttribute ( System.Xml.Linq.XElement x, string name ) : System.Xml.Linq.XAttribute
GetAttribute ( string name ) : System.Xml.Linq.XAttribute
GetAttributeValue ( System.Xml.Linq.XElement x, string name ) : string
RequestNavigation ( NavigationArgs args ) : bool

Private Methods

Méthode Description
GetAttributeValue ( string name ) : string

Method Details

Click() public méthode

public Click ( ) : ClickResult
Résultat ClickResult

DoAspNetLinkPostBack() public méthode

public DoAspNetLinkPostBack ( ) : void
Résultat void

GetAttribute() protected méthode

protected GetAttribute ( System.Xml.Linq.XElement x, string name ) : System.Xml.Linq.XAttribute
x System.Xml.Linq.XElement
name string
Résultat System.Xml.Linq.XAttribute

GetAttribute() protected méthode

protected GetAttribute ( string name ) : System.Xml.Linq.XAttribute
name string
Résultat System.Xml.Linq.XAttribute

GetAttributeValue() protected méthode

protected GetAttributeValue ( System.Xml.Linq.XElement x, string name ) : string
x System.Xml.Linq.XElement
name string
Résultat string

HtmlElement() public méthode

public HtmlElement ( System.Xml.Linq.XElement element ) : System
element System.Xml.Linq.XElement
Résultat System

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

RequestNavigation() protected méthode

protected RequestNavigation ( NavigationArgs args ) : bool
args NavigationArgs
Résultat bool

SubmitForm() public méthode

public SubmitForm ( string url = null, HtmlElement clickedElement = null ) : bool
url string
clickedElement HtmlElement
Résultat bool