public ConsoleTextBox(IConsoleAbstraction consoleAbstraction, int top, int height) { _consoleAbstraction = consoleAbstraction; _textBuffer = new TextBuffer(height + 5); _height = height; _top = top; }
public LineReaderWithPrompt( IAsyncLineReader asyncLineReader, IConsoleAbstraction consoleAbstraction, int height) { _consoleAbstraction = consoleAbstraction; _asyncLineReader = asyncLineReader; _height = height; }
public RemoteTraceMonitor( IConsoleAbstraction consoleAbstraction, int numberOfLines, bool isShowDebugMessage, ISystemInterrupter systemInterrupter, ISystemInfoMessageDispatcher systemInfoMessageDispatcher ) { _numberOfLines = numberOfLines; _systemInterrupter = systemInterrupter; _consoleAbstraction = consoleAbstraction; _systemInfoMessageDispatcher = systemInfoMessageDispatcher; _lineReaderWithPrompt = new LineReaderWithPrompt(new AsyncLineReader(_consoleAbstraction), _consoleAbstraction, _numberOfLines + 1); _remoteTextBox = new ConsoleTextBox(_consoleAbstraction, 0, _numberOfLines); _debugTextBox = new ConsoleTextBox(_consoleAbstraction, _numberOfLines + 3, 7); _isShowDebugMessage = isShowDebugMessage; _systemInfoMessageDispatcher.InfoMessageReceived += InfoMessageReceivedHandler; }
public AsyncLineReader(IConsoleAbstraction consoleAbstraction) { _consoleAbstraction = consoleAbstraction; }