Class Launcher
Inheritance
System.Object
Launcher
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: GPAL.dll
Syntax
public class Launcher : IAllowExecutableSetup, IAllowRunningExecutable, IAllowToGPALObject<Launcher>, IAllowWaitingExecutable
Constructors
Launcher()
Declaration
Properties
Executable
Declaration
public string Executable { get; }
Property Value
| Type |
Description |
| System.String |
|
Name
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
IsRunning()
Declaration
public IAllowRunningExecutable IsRunning()
Returns
Kill()
Declaration
KillTree()
Declaration
Launch()
Declaration
public IAllowRunningExecutable Launch()
Returns
RedirectError(Action<String>)
Declaration
public IAllowRunningExecutable RedirectError(Action<string> errorHandler)
Parameters
| Type |
Name |
Description |
| System.Action<System.String> |
errorHandler |
|
Returns
RedirectOutput(Action<String>)
Declaration
public IAllowRunningExecutable RedirectOutput(Action<string> outputHandler)
Parameters
| Type |
Name |
Description |
| System.Action<System.String> |
outputHandler |
|
Returns
SetEnvironmentVariable(String, String)
Declaration
public IAllowRunningExecutable SetEnvironmentVariable(string name, string value)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
value |
|
Returns
SetWorkingDirectory(String)
Declaration
public IAllowRunningExecutable SetWorkingDirectory(string directory)
Parameters
| Type |
Name |
Description |
| System.String |
directory |
|
Returns
ToGPALObject()
Declaration
public Launcher ToGPALObject()
Returns
WaitForExit(Int32)
Declaration
public IAllowWaitingExecutable WaitForExit(int milliseconds)
Parameters
| Type |
Name |
Description |
| System.Int32 |
milliseconds |
|
Returns
WithArgument(String)
Declaration
public IAllowExecutableSetup WithArgument(string argument)
Parameters
| Type |
Name |
Description |
| System.String |
argument |
|
Returns
WithExecutable(String)
Declaration
public IAllowExecutableSetup WithExecutable(string executable)
Parameters
| Type |
Name |
Description |
| System.String |
executable |
|
Returns
WithName(String)
Declaration
public IAllowExecutableSetup WithName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
Implements