Class ProgramController.ProgramContext
Class containing internal information about a ProgramController instance.
Inherited Members
Namespace: SociallyDistant.Core.Programs
Assembly: SociallyDistant.Framework.dll
Syntax
protected sealed class ProgramController.ProgramContext
Properties
Arguments
Gets the command-line arguments passed to the program.
Declaration
public string[] Arguments { get; }
Property Value
Type | Description |
---|---|
string[] |
Console
Gets the console that the program is able to write to.
Declaration
public IConsoleDriver Console { get; }
Property Value
Type | Description |
---|---|
IConsoleDriver |
Process
Gets the process bound to the program.
Declaration
public ISystemProcess Process { get; }
Property Value
Type | Description |
---|---|
ISystemProcess |
Window
Gets the window that the program spawned into.
Declaration
public IWindow Window { get; }
Property Value
Type | Description |
---|---|
IWindow |