Пример #1
0
 public PlayersRemover(IPlayerSelector playerSelector, ICityRemoverFactory cityRemoverFactory, IScheduler scheduler, ILocker locker)
 {
     this.cityRemoverFactory = cityRemoverFactory;
     this.scheduler          = scheduler;
     this.locker             = locker;
     this.playerSelector     = playerSelector;
 }
Пример #2
0
 public PlayersRemover CreatePlayersRemover(IPlayerSelector playerSelector)
 {
     return(new PlayersRemover(playerSelector, kernel.Get <ICityRemoverFactory>(), kernel.Get <IScheduler>(), kernel.Get <ILocker>()));
 }