Ejemplo n.º 1
0
 public Engine(IInputReader inputReader, IOutputWriter outputWriter)
 {
     this.InputReader     = inputReader;
     this.OutputWriter    = outputWriter;
     this.context         = new DibiloFourContext();
     this.commandsManager = new CommandsManager(this.context, this.inputReader, this.outputWriter);
 }
 public CommandsManager(DibiloFourContext context, IInputReader reader, IOutputWriter writer)
 {
     this.reader  = reader;
     this.writer  = writer;
     this.context = context;
 }