Exemple #1
0
 public PeriodManager(IPeriodStore scorePeriodStore, IScoreInfoStore scoreInfo, IScoreInfoStore scoreInfoStore, ITransaction <PointsGameDbContext> transaction,
                      HelperSendClientMessage sendClientMessageManager, IRankTitleStore rankTitleStore, IGiftStore giftStore)
 {
     _scorePeriodStore         = scorePeriodStore ?? throw new ArgumentNullException(nameof(scorePeriodStore));
     _transaction              = transaction ?? throw new ArgumentNullException(nameof(transaction));
     _scoreInfoStore           = scoreInfoStore ?? throw new ArgumentNullException(nameof(transaction));
     _sendClientMessageManager = sendClientMessageManager;
     _rankTitleStore           = rankTitleStore;
     _giftStore = giftStore;
 }
Exemple #2
0
 public RankTitleManager(IRankTitleStore titleStore, IConfigurationRoot configuration, HelperSendClientMessage sendClientMessageManager)
 {
     _iTitleStore             = titleStore;
     _config                  = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _sendClientMessageHelper = sendClientMessageManager;
 }