C# Class Ramone.MediaTypes.Html.Form

Inheritance: IKeyValueForm
Exibir arquivo Open project: JornWildt/Ramone

Public Methods

Method Description
Bind ( string button = null ) : Request
Form ( HtmlNode formNode, ISession session, Uri baseUrl, string charset ) : System

Value ( object value ) : IKeyValueForm
Value ( string key, object value ) : IKeyValueForm

Protected Methods

Method Description
AssignSubmitButton ( string button = null ) : void
GetCharset ( ) : string
GetSubmitData ( string button = null ) : Hashtable
ParseInputs ( HtmlNode formNode ) : void

Method Details

AssignSubmitButton() protected method

protected AssignSubmitButton ( string button = null ) : void
button string
return void

Bind() public method

public Bind ( string button = null ) : Request
button string
return Request

Form() public method

public Form ( HtmlNode formNode, ISession session, Uri baseUrl, string charset ) : System
formNode HtmlAgilityPack.HtmlNode
session ISession
baseUrl System.Uri
charset string The character set used in the previoius response (from which the form originates).
return System

GetCharset() protected method

protected GetCharset ( ) : string
return string

GetSubmitData() protected method

protected GetSubmitData ( string button = null ) : Hashtable
button string
return System.Collections.Hashtable

ParseInputs() protected method

protected ParseInputs ( HtmlNode formNode ) : void
formNode HtmlAgilityPack.HtmlNode
return void

Value() public method

public Value ( object value ) : IKeyValueForm
value object
return IKeyValueForm

Value() public method

public Value ( string key, object value ) : IKeyValueForm
key string
value object
return IKeyValueForm