예제 #1
0
 public HypeCommand(IRepository repository,
                    IOverlayNotification overlayNotification)
     : base(repository, UserRole.Everyone)
 {
     _overlayNotification = overlayNotification;
     Cooldown             = TimeSpan.FromMinutes(2);
 }
예제 #2
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, IOverlayNotification overlayNotification)
 {
     _currencyGenerator   = currencyGenerator;
     _repository          = repository;
     _overlayNotification = overlayNotification;
 }