C# Class WikiFunctions.SubstTemplates

Inheritance: System.Windows.Forms.Form
显示文件 Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

SubstTemplates ( ) : System
SubstituteTemplates ( string articleText, string articleTitle ) : string

Substitutes templates in the given article text

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RefreshRegexes ( ) : void

Generates regexes to match the templates from the template list. Supports templates with Template: or Msg: at the start Does not process nested templates

btnClear_Click ( object sender, EventArgs e ) : void
btnOk_Click ( object sender, EventArgs e ) : void
btnReset_Click ( object sender, EventArgs e ) : void
chkUseExpandTemplates_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SubstTemplates() public method

public SubstTemplates ( ) : System
return System

SubstituteTemplates() public method

Substitutes templates in the given article text
public SubstituteTemplates ( string articleText, string articleTitle ) : string
articleText string The wiki text of the article.
articleTitle string Title of the article
return string