C# Class TypeScript4WebMatrix.TypeScript4WebMatrix

Inheritance: Extension
Mostra file Open project: MacawNL/TypeScript4WebMatrix

Private Properties

Property Type Description
CanExecute bool
Compile bool
CompileTypeScriptFiles void
CompileTypeScriptFilesAsync System.Threading.Tasks.Task
HandleRibbonButtonCompileTypeScriptInvoke void
HandleRibbonButtonUpdateSoftwareInvoke void
UpdateSoftware void
UpdateSoftwareAsync System.Threading.Tasks.Task
webMatrixHost_ContextMenuOpening void

Public Methods

Method Description
TypeScript4WebMatrix ( ) : System

Initializes a new instance of the TypeScript4WebMatrix class.

Protected Methods

Method Description
Initialize ( IWebMatrixHost host, ExtensionInitData initData ) : void

Called to initialize the extension.

Private Methods

Method Description
CanExecute ( object parmeter ) : bool
Compile ( string tsfile ) : bool
CompileTypeScriptFiles ( string tsfiles ) : void
CompileTypeScriptFilesAsync ( string tsfiles ) : System.Threading.Tasks.Task
HandleRibbonButtonCompileTypeScriptInvoke ( object parameter ) : void

Called when the Ribbon button "Compile TypeScript" is invoked.

HandleRibbonButtonUpdateSoftwareInvoke ( object parameter ) : void

Called when the Ribbon button "Check for update" is invoked.

UpdateSoftware ( ) : void
UpdateSoftwareAsync ( ) : System.Threading.Tasks.Task
webMatrixHost_ContextMenuOpening ( object sender, ContextMenuOpeningEventArgs e ) : void

Method Details

Initialize() protected method

Called to initialize the extension.
protected Initialize ( IWebMatrixHost host, ExtensionInitData initData ) : void
host IWebMatrixHost WebMatrix host interface.
initData ExtensionInitData Extension initialization data.
return void

TypeScript4WebMatrix() public method

Initializes a new instance of the TypeScript4WebMatrix class.
public TypeScript4WebMatrix ( ) : System
return System