C# Class NodeAssets.Core.Commands.NodeExecutor

Inheritance: INodeExecutor
Show file Open project: ajorkowski/NodeAssets Class Usage Examples

Public Methods

Method Description
CoffeeFile ( FileInfo file ) : Task
CoffeeScript ( string coffee ) : Task
ExecuteCoffeeCommand ( string args ) : CommandResult
ExecuteCoffeeFile ( FileInfo file ) : CommandResult
ExecuteCoffeeScript ( string coffee ) : CommandResult
ExecuteFile ( FileInfo file ) : CommandResult
ExecuteJsFile ( FileInfo file ) : CommandResult
ExecuteJsScript ( string javascript ) : CommandResult
ExecuteNodeCommand ( string args ) : CommandResult
File ( FileInfo file ) : Task
JsFile ( FileInfo file ) : Task
JsScript ( string javascript ) : Task
NodeExecutor ( string nodeWorkspace, string nodeExePath = null ) : NodeAssets.Compilers
RunCommand ( CommandResult result ) : Task
WaitForExitAsync ( Process process ) : Task

Private Methods

Method Description
EscapeScript ( string script ) : string

Method Details

CoffeeFile() public method

public CoffeeFile ( FileInfo file ) : Task
file System.IO.FileInfo
return Task

CoffeeScript() public method

public CoffeeScript ( string coffee ) : Task
coffee string
return Task

ExecuteCoffeeCommand() public method

public ExecuteCoffeeCommand ( string args ) : CommandResult
args string
return CommandResult

ExecuteCoffeeFile() public method

public ExecuteCoffeeFile ( FileInfo file ) : CommandResult
file System.IO.FileInfo
return CommandResult

ExecuteCoffeeScript() public method

public ExecuteCoffeeScript ( string coffee ) : CommandResult
coffee string
return CommandResult

ExecuteFile() public method

public ExecuteFile ( FileInfo file ) : CommandResult
file System.IO.FileInfo
return CommandResult

ExecuteJsFile() public method

public ExecuteJsFile ( FileInfo file ) : CommandResult
file System.IO.FileInfo
return CommandResult

ExecuteJsScript() public method

public ExecuteJsScript ( string javascript ) : CommandResult
javascript string
return CommandResult

ExecuteNodeCommand() public method

public ExecuteNodeCommand ( string args ) : CommandResult
args string
return CommandResult

File() public method

public File ( FileInfo file ) : Task
file System.IO.FileInfo
return Task

JsFile() public method

public JsFile ( FileInfo file ) : Task
file System.IO.FileInfo
return Task

JsScript() public method

public JsScript ( string javascript ) : Task
javascript string
return Task

NodeExecutor() public method

public NodeExecutor ( string nodeWorkspace, string nodeExePath = null ) : NodeAssets.Compilers
nodeWorkspace string
nodeExePath string
return NodeAssets.Compilers

RunCommand() public method

public RunCommand ( CommandResult result ) : Task
result CommandResult
return Task

WaitForExitAsync() public static method

public static WaitForExitAsync ( Process process ) : Task
process System.Diagnostics.Process
return Task