C# Class ScrewTurn.Wiki.Search

显示文件 Open project: mono/ScrewTurnWiki

Protected Properties

Property Type Description
btnGo global::System.Web.UI.WebControls.Button
chkAllNamespaces global::System.Web.UI.WebControls.CheckBox
chkFilesAndAttachments global::System.Web.UI.WebControls.CheckBox
chkUncategorizedPages global::System.Web.UI.WebControls.CheckBox
lblCategoryFilter global::System.Web.UI.WebControls.Literal
lblHideCategoriesScript global::System.Web.UI.WebControls.Literal
lblInstructions global::System.Web.UI.WebControls.Literal
lblStats global::System.Web.UI.WebControls.Literal
lblStrings global::System.Web.UI.WebControls.Literal
lblTitle global::System.Web.UI.WebControls.Literal
lstCategories global::System.Web.UI.WebControls.CheckBoxList
rdoAllWords global::System.Web.UI.WebControls.RadioButton
rdoAtLeastOneWord global::System.Web.UI.WebControls.RadioButton
rdoExactPhrase global::System.Web.UI.WebControls.RadioButton
rptResults global::System.Web.UI.WebControls.Repeater
txtQuery global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnGo_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
GenerateOpenSearchDescription ( ) : void

Generates the OpenSearch description XML document and renders it to output.

GetCategories ( ) : string

Gets the selected categories.

GetMode ( ) : string

Gets the search mode string.

PerformSearch ( string query, SearchOptions mode, List selectedCategories, bool searchUncategorized, bool searchInAllNamespacesAndCategories, bool searchFilesAndAttachments ) : void

Performs a search.

PrintStats ( TimeSpan time, int results ) : void

Prints the search statistics.

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnGo_Click() protected method

protected btnGo_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

btnGo protected_oe property

btnGo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnGo
return global::System.Web.UI.WebControls.Button

chkAllNamespaces protected_oe property

chkAllNamespaces control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkAllNamespaces
return global::System.Web.UI.WebControls.CheckBox

chkFilesAndAttachments protected_oe property

chkFilesAndAttachments control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkFilesAndAttachments
return global::System.Web.UI.WebControls.CheckBox

chkUncategorizedPages protected_oe property

chkUncategorizedPages control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkUncategorizedPages
return global::System.Web.UI.WebControls.CheckBox

lblCategoryFilter protected_oe property

lblCategoryFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblCategoryFilter
return global::System.Web.UI.WebControls.Literal

lblHideCategoriesScript protected_oe property

lblHideCategoriesScript control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblHideCategoriesScript
return global::System.Web.UI.WebControls.Literal

lblInstructions protected_oe property

lblInstructions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblInstructions
return global::System.Web.UI.WebControls.Literal

lblStats protected_oe property

lblStats control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblStats
return global::System.Web.UI.WebControls.Literal

lblStrings protected_oe property

lblStrings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblStrings
return global::System.Web.UI.WebControls.Literal

lblTitle protected_oe property

lblTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblTitle
return global::System.Web.UI.WebControls.Literal

lstCategories protected_oe property

lstCategories control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBoxList lstCategories
return global::System.Web.UI.WebControls.CheckBoxList

rdoAllWords protected_oe property

rdoAllWords control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RadioButton rdoAllWords
return global::System.Web.UI.WebControls.RadioButton

rdoAtLeastOneWord protected_oe property

rdoAtLeastOneWord control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RadioButton rdoAtLeastOneWord
return global::System.Web.UI.WebControls.RadioButton

rdoExactPhrase protected_oe property

rdoExactPhrase control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RadioButton rdoExactPhrase
return global::System.Web.UI.WebControls.RadioButton

rptResults protected_oe property

rptResults control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater rptResults
return global::System.Web.UI.WebControls.Repeater

txtQuery protected_oe property

txtQuery control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtQuery
return global::System.Web.UI.WebControls.TextBox