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

            nonThreadSafeScriptingConsole.LineReceived += NonThreadSafeScriptingConsoleLineReceived;
        }