protected WindowConsole(Console.IViewer viewer, Console.IInput input) { _AutoPowerRegulator = new AutoPowerRegulator(new PowerRegulator()); Viewer = viewer; _Input = input; _Console = new Console(_Input, Viewer); _Updater = new Updater(); }
protected WindowConsole() { _AutoPowerRegulator = new AutoPowerRegulator(new PowerRegulator()); Viewer = new ConsoleViewer(); ConsoleInput consoleInput = new ConsoleInput(Viewer); _Input = consoleInput; _Console = new Console(_Input, Viewer); _Updater = new Updater(); _Updater.Add(consoleInput); }