Пример #1
0
 public Engine()
 {
     nationBuilder = new NationsBuilder();
     writer        = new ConsoleWriter();
     reader        = new ConsoleReader();
 }
Пример #2
0
 public Engine(INationsBuilder nationsBuilder, IWriter writer, IReader reader)
 {
     this.nationsBuilder = nationsBuilder;
     this.writer         = writer;
     this.reader         = reader;
 }