Beispiel #1
0
        public StepHanoiService(IHanoiRepository hanoiRepository)
        {
            this.hanoiRepository = hanoiRepository;
            moves = new List <Move>();

            threadQueue = new Thread(VerifyTime);
            threadQueue.Start();
        }
Beispiel #2
0
 public HanoiService(IHanoiRepository hanoiRepository, IStepHanoiService stepHanoiService)
 {
     this.hanoiRepository  = hanoiRepository;
     this.stepHanoiService = stepHanoiService;
 }
Beispiel #3
0
 public HanoiCommandsHandler(IHanoiRepository hanoiRepository, IMoveRepository moveRepository)
 {
     _hanoiRepository = hanoiRepository;
     _moveRepository  = moveRepository;
 }