C# Class Mosa.Utility.Launcher.BaseLauncher

Exibir arquivo Open project: tgiphil/MOSA-Project

Public Methods

Method Description
AddOutput ( string status ) : void
BaseLauncher ( Options options, AppLocations appLocations ) : System.Collections.Generic

Protected Methods

Method Description
GetOutput ( Process process ) : string
GetResource ( string name ) : byte[]
GetResource ( string path, string name ) : byte[]
LaunchApplication ( string app, string args ) : Process
LaunchApplication ( string app, string arg, bool getOutput ) : Process
LaunchConsoleApplication ( string app, string args ) : Process
OutputEvent ( string status ) : void
Quote ( string location ) : string

Method Details

AddOutput() public method

public AddOutput ( string status ) : void
status string
return void

BaseLauncher() public method

public BaseLauncher ( Options options, AppLocations appLocations ) : System.Collections.Generic
options Options
appLocations AppLocations
return System.Collections.Generic

GetOutput() protected method

protected GetOutput ( Process process ) : string
process System.Diagnostics.Process
return string

GetResource() protected static method

protected static GetResource ( string name ) : byte[]
name string
return byte[]

GetResource() protected static method

protected static GetResource ( string path, string name ) : byte[]
path string
name string
return byte[]

LaunchApplication() protected method

protected LaunchApplication ( string app, string args ) : Process
app string
args string
return System.Diagnostics.Process

LaunchApplication() protected method

protected LaunchApplication ( string app, string arg, bool getOutput ) : Process
app string
arg string
getOutput bool
return System.Diagnostics.Process

LaunchConsoleApplication() protected method

protected LaunchConsoleApplication ( string app, string args ) : Process
app string
args string
return System.Diagnostics.Process

OutputEvent() protected method

protected OutputEvent ( string status ) : void
status string
return void

Quote() protected static method

protected static Quote ( string location ) : string
location string
return string