public ThreadSafeScriptingConsole(IScriptingConsole nonThreadSafeScriptingConsole,
			ThreadSafeScriptingConsoleEvents consoleEvents,
			IControlDispatcher dispatcher)
		{
			this.nonThreadSafeScriptingConsole = nonThreadSafeScriptingConsole;
			this.consoleEvents = consoleEvents;
			this.dispatcher = dispatcher;
			
			nonThreadSafeScriptingConsole.LineReceived += NonThreadSafeScriptingConsoleLineReceived;
		}
Beispiel #2
0
        public ThreadSafeScriptingConsole(IScriptingConsole nonThreadSafeScriptingConsole,
                                          ThreadSafeScriptingConsoleEvents consoleEvents,
                                          IControlDispatcher dispatcher)
        {
            this.nonThreadSafeScriptingConsole = nonThreadSafeScriptingConsole;
            this.consoleEvents = consoleEvents;
            this.dispatcher    = dispatcher;

            nonThreadSafeScriptingConsole.LineReceived += NonThreadSafeScriptingConsoleLineReceived;
        }