C# Class Microsoft.Scripting.Hosting.Shell.Remote.ConsoleRestartManager

Datei anzeigen Open project: jschementi/iron

Public Methods

Method Description
BreakExecution ( ) : void
ConsoleRestartManager ( bool exitOnNormalExit ) : System

This is created on the "creating thread", and goes on standby. Start needs to be called for activation.

CreateRemoteConsoleHost ( ) : RemoteConsoleHost
RestartConsole ( ) : void
Start ( ) : void

Needs to be called for activation.

Terminate ( ) : void

Request (from another thread) the console REPL loop to terminate

Private Methods

Method Description
GetMemberNames ( string expression ) : IList
Run ( ) : void
RunWorker ( ) : void

Method Details

BreakExecution() public method

public BreakExecution ( ) : void
return void

ConsoleRestartManager() public method

This is created on the "creating thread", and goes on standby. Start needs to be called for activation.
public ConsoleRestartManager ( bool exitOnNormalExit ) : System
exitOnNormalExit bool A host might want one of two behaviors: /// 1. Keep the REPL loop alive indefinitely, even when a specific instance of the RemoteConsoleHost terminates normally /// 2. Close the REPL loop when an instance of the RemoteConsoleHost terminates normally, and restart the loop /// only if the instance terminates abnormally.
return System

CreateRemoteConsoleHost() public abstract method

public abstract CreateRemoteConsoleHost ( ) : RemoteConsoleHost
return RemoteConsoleHost

RestartConsole() public method

public RestartConsole ( ) : void
return void

Start() public method

Needs to be called for activation.
public Start ( ) : void
return void

Terminate() public method

Request (from another thread) the console REPL loop to terminate
public Terminate ( ) : void
return void