示例#1
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem,
                    IWordListProvider wordList)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _wordList = wordList;
 }
示例#2
0
 public CurrencyUpdate(int intervalInMinutes, ICurrencyGenerator currencyGenerator, IClock clock)
 {
     _intervalInMinutes = intervalInMinutes;
     _currencyGenerator = currencyGenerator;
     _clock             = clock;
     SetNextRunTime();
 }
示例#3
0
 public QuizGame(IRepository repository, ICurrencyGenerator currencyGenerator,
                 IAutomatedActionSystem automatedActionSystem)
 {
     _repository            = repository;
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
示例#4
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem,
                    IRepository repository)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _repository            = repository;
 }
示例#5
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, ISettingsFactory settingsFactory, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
     _hangmanSettings            = settingsFactory.GetSettings <HangmanSettings>();
 }
示例#6
0
 public FollowableSystem(IList <IChatClient> chatClients, IFollowerService followerService,
                         ICurrencyGenerator currencyGenerator)
 {
     _chatClients       = chatClients;
     _followerService   = followerService;
     _currencyGenerator = currencyGenerator;
 }
示例#7
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, ISettingsFactory settingsFactory, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
     _hangmanSettings            = settingsFactory.GetSettings <HangmanSettings>();
     ALL_LETTERS                 = _hangmanSettings?.AllowedCharacters.ToLowerInvariant();
 }
示例#8
0
 public CurrencyUpdate(ICurrencyGenerator currencyGenerator, ISettingsFactory settingsFactory, IClock clock)
 {
     _currencyGenerator = currencyGenerator;
     _clock             = clock;
     _currencySettings  = settingsFactory.GetSettings <CurrencySettings>();
     IntervalTimeSpan   = TimeSpan.FromMinutes(IntervalInMinutes);
     SetNextRunTime();
 }
示例#9
0
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator,
                              IAutomatedActionSystem automatedActionSystem,
                              ISettingsFactory settingsFactory,
                              ILoggerAdapter <RockPaperScissorsGame> logger)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _logger   = logger;
     _settings = settingsFactory.GetSettings <RockPaperScissorsSettings>();
 }
示例#10
0
 public StreamingSystem(IChatClient chatClient, IFollowerService followerService,
                        ICurrencyGenerator currencyGenerator, ISubscriberHandler subscriberHandler,
                        IStreamingInfoService streamingInfoService)
 {
     _chatClient           = chatClient;
     _followerService      = followerService;
     _currencyGenerator    = currencyGenerator;
     _subscriberHandler    = subscriberHandler;
     _streamingInfoService = streamingInfoService;
 }
示例#11
0
 public BonusCommand(IRepository repository, ICurrencyGenerator currencyGenerator)
     : base(repository, UserRole.Mod)
 {
     _currencyGenerator = currencyGenerator;
     HelpText           = "Use the bonus command to give free coins to someone example: !bonus sadukie 50";
 }
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem, ILoggerAdapter <RockPaperScissorsGame> logger)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _logger = logger;
 }
示例#13
0
 public HeistGame(IAutomatedActionSystem automatedActionSystem, ICurrencyGenerator currencyGenerator)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
示例#14
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
 }
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, IOverlayNotification overlayNotification)
 {
     _currencyGenerator   = currencyGenerator;
     _repository          = repository;
     _overlayNotification = overlayNotification;
 }
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
示例#17
0
 public BonusCommand(IRepository repository, ICurrencyGenerator currencyGenerator)
     : base(repository)
 {
     _currencyGenerator = currencyGenerator;
 }
示例#18
0
 public RouletteCommand(IRepository repository, ICurrencyGenerator currencyGenerator, ISettingsFactory settingsFactory)
     : base(repository)
 {
     _currencyGenerator = currencyGenerator;
     _rouletteSettings  = settingsFactory.GetSettings <RouletteSettings>();
 }