C# Class SimpleBrowser.HtmlElement

Implements an HTML element corresponding with an XElement from the DOM
显示文件 Open project: aqueduct/SimpleBrowser Class Usage Examples

Private Properties

Property Type Description
GetAttributeValue string

Public Methods

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

Protected Methods

Method 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

Method Description
GetAttributeValue ( string name ) : string

Method Details

Click() public method

public Click ( ) : ClickResult
return ClickResult

DoAspNetLinkPostBack() public method

public DoAspNetLinkPostBack ( ) : void
return void

GetAttribute() protected method

protected GetAttribute ( System.Xml.Linq.XElement x, string name ) : System.Xml.Linq.XAttribute
x System.Xml.Linq.XElement
name string
return System.Xml.Linq.XAttribute

GetAttribute() protected method

protected GetAttribute ( string name ) : System.Xml.Linq.XAttribute
name string
return System.Xml.Linq.XAttribute

GetAttributeValue() protected method

protected GetAttributeValue ( System.Xml.Linq.XElement x, string name ) : string
x System.Xml.Linq.XElement
name string
return string

HtmlElement() public method

public HtmlElement ( System.Xml.Linq.XElement element ) : System
element System.Xml.Linq.XElement
return System

Invalidate() public method

public Invalidate ( ) : void
return void

RequestNavigation() protected method

protected RequestNavigation ( NavigationArgs args ) : bool
args NavigationArgs
return bool

SubmitForm() public method

public SubmitForm ( string url = null, HtmlElement clickedElement = null ) : bool
url string
clickedElement HtmlElement
return bool