Пример #1
0
 public EngineerPool(IRandomAdapter randomAdapter)
 {
     _engineersAvailable = new List <Engineer>();
     _engineersPullable  = new List <Engineer>();
     _randomAdapter      = randomAdapter;
 }
 public EngineerPoolFactory(IEngineerRepository engineerRepository,
                            IRandomAdapter randomAdapter)
 {
     _randomAdapter      = randomAdapter;
     _engineerRepository = engineerRepository;
 }