C# Class net.jsBeautifier.JsBeautifier

Inheritance: System.Windows.Forms.Form
Show file Open project: rhoney/jsBeautifier.net Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
JsBeautifier_Shown void
aboutToolStripMenuItem_Click void
ensureInitialized void
initializeElements void
setCheckValue void
webBrowser1_DocumentCompleted void

Public Methods

Method Description
JsBeautifier ( ) : System
getBeautifiedScript ( string script ) : string
initialize ( ) : void
setBracesNewLine ( bool check ) : void
setDetectPackers ( bool check ) : void
setIndentation ( int indent ) : void
setKeepArrayIndent ( bool check ) : void
setPreserveEmptyLines ( bool check ) : void

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.

JsBeautifier_Shown ( object sender, EventArgs e ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ensureInitialized ( ) : void
initializeElements ( ) : void
setCheckValue ( System.Windows.Forms.HtmlElement el, bool check ) : void
webBrowser1_DocumentCompleted ( object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e ) : void

Method Details

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

JsBeautifier() public method

public JsBeautifier ( ) : System
return System

getBeautifiedScript() public method

public getBeautifiedScript ( string script ) : string
script string
return string

initialize() public method

public initialize ( ) : void
return void

setBracesNewLine() public method

public setBracesNewLine ( bool check ) : void
check bool
return void

setDetectPackers() public method

public setDetectPackers ( bool check ) : void
check bool
return void

setIndentation() public method

public setIndentation ( int indent ) : void
indent int
return void

setKeepArrayIndent() public method

public setKeepArrayIndent ( bool check ) : void
check bool
return void

setPreserveEmptyLines() public method

public setPreserveEmptyLines ( bool check ) : void
check bool
return void