TestableThreadSafeScriptingConsole(IScriptingConsole nonThreadSafeScriptingConsole,
			ThreadSafeScriptingConsoleEvents consoleEvents,
			IControlDispatcher dispatcher)
			: base(nonThreadSafeScriptingConsole, consoleEvents, dispatcher)
		{
			NonThreadSafeScriptingConsole = (FakeScriptingConsole)nonThreadSafeScriptingConsole;
			ConsoleEvents = (TestableThreadSafeScriptingConsoleEvents)consoleEvents;
			Dispatcher = (FakeControlDispatcher)dispatcher;
			
			ConsoleEvents.Dispatcher = Dispatcher;
			ConsoleEvents.NonThreadSafeScriptingConsole = NonThreadSafeScriptingConsole;
		}
        TestableThreadSafeScriptingConsole(IScriptingConsole nonThreadSafeScriptingConsole,
                                           ThreadSafeScriptingConsoleEvents consoleEvents,
                                           IControlDispatcher dispatcher)
            : base(nonThreadSafeScriptingConsole, consoleEvents, dispatcher)
        {
            NonThreadSafeScriptingConsole = (FakeScriptingConsole)nonThreadSafeScriptingConsole;
            ConsoleEvents = (TestableThreadSafeScriptingConsoleEvents)consoleEvents;
            Dispatcher    = (FakeControlDispatcher)dispatcher;

            ConsoleEvents.Dispatcher = Dispatcher;
            ConsoleEvents.NonThreadSafeScriptingConsole = NonThreadSafeScriptingConsole;
        }
 void CreateConsoleEvents()
 {
     consoleEvents = new ThreadSafeScriptingConsoleEvents();
 }
		void CreateConsoleEvents()
		{
			consoleEvents = new ThreadSafeScriptingConsoleEvents();
		}