示例#1
0
        public StdInOutHandler(DetachableIO io, Monitor monitor, bool plainOutput = false)
        {
            this.io = io;
            commandHandler = monitor;

            buffer = new StringBuilder();
            CommandInteraction = new StdInOutInteraction(plainOutput);
            monitor.Interaction = CommandInteraction;
        }
示例#2
0
        public StdInOutHandler(DetachableIO io, Monitor monitor, bool plainOutput = false)
        {
            this.io        = io;
            commandHandler = monitor;

            buffer              = new StringBuilder();
            CommandInteraction  = new StdInOutInteraction(plainOutput);
            monitor.Interaction = CommandInteraction;
        }