예제 #1
0
        public void Init()
        {
            textEditor = new FakeConsoleTextEditor();
            dispatcher = new FakeControlDispatcher();
            dispatcher.CheckAccessReturnValue = true;

            stream = new ScriptingConsoleOutputStream(textEditor, dispatcher);
        }
예제 #2
0
        void CreateThreadSafeScriptingConsole()
        {
            threadSafeConsole = new TestableThreadSafeScriptingConsole();

            dispatcher = threadSafeConsole.Dispatcher;
            dispatcher.CheckAccessReturnValue = true;

            nonThreadSafeScriptingConsole = threadSafeConsole.NonThreadSafeScriptingConsole;

            threadSafeConsoleEvents = threadSafeConsole.ConsoleEvents;
        }
 public void Init()
 {
     dispatcher = new FakeControlDispatcher();
 }