public void Init()
		{
			textEditor = new FakeConsoleTextEditor();
			dispatcher = new FakeControlDispatcher();
			dispatcher.CheckAccessReturnValue = true;
			
			stream = new ScriptingConsoleOutputStream(textEditor, dispatcher);
		}
Exemplo n.º 2
0
		protected virtual void SetOutput(ScriptingConsoleOutputStream stream)
		{
			Runtime.IO.SetOutput(stream, Encoding.UTF8);
		}
		protected override void SetOutput(ScriptingConsoleOutputStream stream)
		{
			outputStream = stream;
		}