예제 #1
0
 private Engine(CommandExecuter executor, IUserInterface userIo)
 {
     this.executor = executor;
     this.userIO = userIo;
     //// DI: Added IUserInterface and ConsoleIo types
     //// and made the constructor take an user interface usin DI
 }
예제 #2
0
 private Engine(CommandExecuter executor, IUserInterface userIo)
 {
     this.executor = executor;
     this.userIO = userIo;
 }