C# 클래스 Microsoft.Scripting.Hosting.Shell.Remote.ConsoleRestartManager

파일 보기 프로젝트 열기: jschementi/iron

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetMemberNames ( string expression ) : IList
Run ( ) : void
RunWorker ( ) : void

메소드 상세

BreakExecution() 공개 메소드

public BreakExecution ( ) : void
리턴 void

ConsoleRestartManager() 공개 메소드

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.
리턴 System

CreateRemoteConsoleHost() 공개 추상적인 메소드

public abstract CreateRemoteConsoleHost ( ) : RemoteConsoleHost
리턴 RemoteConsoleHost

RestartConsole() 공개 메소드

public RestartConsole ( ) : void
리턴 void

Start() 공개 메소드

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

Terminate() 공개 메소드

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