GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.Launcher Class Reference
Inheritance diagram for GenerallyPositive.Launcher:
GenerallyPositive.IAllowExecutableSetup GenerallyPositive.IAllowRunningExecutable GenerallyPositive.IAllowWaitingExecutable GenerallyPositive.IAllowToGPALObject< TResult > GenerallyPositive.IAllowToGPALObject< TResult > GenerallyPositive.IAllowWaitingExecutable

Public Member Functions

IAllowExecutableSetup WithExecutable (string executable)
IAllowExecutableSetup WithName (string name)
IAllowExecutableSetup WithArgument (string argument)
IAllowRunningExecutable Launch ()
IAllowRunningExecutable RedirectOutput (Action< string > outputHandler)
IAllowRunningExecutable RedirectError (Action< string > errorHandler)
IAllowRunningExecutable SetWorkingDirectory (string directory)
IAllowRunningExecutable SetEnvironmentVariable (string name, string value)
IAllowRunningExecutable IsRunning ()
IAllowWaitingExecutable WaitForExit (int milliseconds)
void Kill ()
void KillTree ()
Launcher ToGPALObject ()

Properties

string Name [get, set]
string Executable [get, set]

Detailed Description

Definition at line 30 of file Launcher.cs.

Constructor & Destructor Documentation

◆ Launcher()

GenerallyPositive.Launcher.Launcher ( )

Definition at line 39 of file Launcher.cs.

Member Function Documentation

◆ IsRunning()

IAllowRunningExecutable GenerallyPositive.Launcher.IsRunning ( )

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 165 of file Launcher.cs.

◆ Kill()

void GenerallyPositive.Launcher.Kill ( )

Implements GenerallyPositive.IAllowWaitingExecutable.

Definition at line 179 of file Launcher.cs.

◆ KillTree()

void GenerallyPositive.Launcher.KillTree ( )

Implements GenerallyPositive.IAllowWaitingExecutable.

Definition at line 190 of file Launcher.cs.

◆ Launch()

IAllowRunningExecutable GenerallyPositive.Launcher.Launch ( )

Implements GenerallyPositive.IAllowExecutableSetup.

Definition at line 70 of file Launcher.cs.

◆ RedirectError()

IAllowRunningExecutable GenerallyPositive.Launcher.RedirectError ( Action< string > errorHandler)

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 121 of file Launcher.cs.

◆ RedirectOutput()

IAllowRunningExecutable GenerallyPositive.Launcher.RedirectOutput ( Action< string > outputHandler)

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 106 of file Launcher.cs.

◆ SetEnvironmentVariable()

IAllowRunningExecutable GenerallyPositive.Launcher.SetEnvironmentVariable ( string name,
string value )

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 148 of file Launcher.cs.

◆ SetWorkingDirectory()

IAllowRunningExecutable GenerallyPositive.Launcher.SetWorkingDirectory ( string directory)

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 136 of file Launcher.cs.

◆ ToGPALObject()

Launcher GenerallyPositive.Launcher.ToGPALObject ( )

Implements GenerallyPositive.IAllowToGPALObject< TResult >.

Definition at line 229 of file Launcher.cs.

◆ WaitForExit()

IAllowWaitingExecutable GenerallyPositive.Launcher.WaitForExit ( int milliseconds)

Implements GenerallyPositive.IAllowRunningExecutable.

Definition at line 171 of file Launcher.cs.

◆ WithArgument()

IAllowExecutableSetup GenerallyPositive.Launcher.WithArgument ( string argument)

Implements GenerallyPositive.IAllowExecutableSetup.

Definition at line 54 of file Launcher.cs.

◆ WithExecutable()

IAllowExecutableSetup GenerallyPositive.Launcher.WithExecutable ( string executable)

Implements GenerallyPositive.IAllowExecutableSetup.

Definition at line 43 of file Launcher.cs.

◆ WithName()

IAllowExecutableSetup GenerallyPositive.Launcher.WithName ( string name)

Implements GenerallyPositive.IAllowExecutableSetup.

Definition at line 49 of file Launcher.cs.

Property Documentation

◆ Executable

string GenerallyPositive.Launcher.Executable
getset

Definition at line 33 of file Launcher.cs.

◆ Name

string GenerallyPositive.Launcher.Name
getset

Definition at line 32 of file Launcher.cs.


The documentation for this class was generated from the following file: