Show / Hide Table of Contents

Class Launcher

Inheritance
System.Object
Launcher
Implements
IAllowExecutableSetup
IAllowRunningExecutable
IAllowToGPALObject<Launcher>
IAllowWaitingExecutable
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()
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public class Launcher : IAllowExecutableSetup, IAllowRunningExecutable, IAllowToGPALObject<Launcher>, IAllowWaitingExecutable

Constructors

Launcher()

Declaration
public Launcher()

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
Type Description
IAllowRunningExecutable

Kill()

Declaration
public void Kill()

KillTree()

Declaration
public void KillTree()

Launch()

Declaration
public IAllowRunningExecutable Launch()
Returns
Type Description
IAllowRunningExecutable

RedirectError(Action<String>)

Declaration
public IAllowRunningExecutable RedirectError(Action<string> errorHandler)
Parameters
Type Name Description
System.Action<System.String> errorHandler
Returns
Type Description
IAllowRunningExecutable

RedirectOutput(Action<String>)

Declaration
public IAllowRunningExecutable RedirectOutput(Action<string> outputHandler)
Parameters
Type Name Description
System.Action<System.String> outputHandler
Returns
Type Description
IAllowRunningExecutable

SetEnvironmentVariable(String, String)

Declaration
public IAllowRunningExecutable SetEnvironmentVariable(string name, string value)
Parameters
Type Name Description
System.String name
System.String value
Returns
Type Description
IAllowRunningExecutable

SetWorkingDirectory(String)

Declaration
public IAllowRunningExecutable SetWorkingDirectory(string directory)
Parameters
Type Name Description
System.String directory
Returns
Type Description
IAllowRunningExecutable

ToGPALObject()

Declaration
public Launcher ToGPALObject()
Returns
Type Description
Launcher

WaitForExit(Int32)

Declaration
public IAllowWaitingExecutable WaitForExit(int milliseconds)
Parameters
Type Name Description
System.Int32 milliseconds
Returns
Type Description
IAllowWaitingExecutable

WithArgument(String)

Declaration
public IAllowExecutableSetup WithArgument(string argument)
Parameters
Type Name Description
System.String argument
Returns
Type Description
IAllowExecutableSetup

WithExecutable(String)

Declaration
public IAllowExecutableSetup WithExecutable(string executable)
Parameters
Type Name Description
System.String executable
Returns
Type Description
IAllowExecutableSetup

WithName(String)

Declaration
public IAllowExecutableSetup WithName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
IAllowExecutableSetup

Implements

IAllowExecutableSetup
IAllowRunningExecutable
IAllowToGPALObject<TResult>
IAllowWaitingExecutable
In This Article
Back to top Generated by DocFX