Beispiel #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;
 }
Beispiel #2
0
 public GiftManager(IAllocateStore allocateStore, IGiftStore giftStore, IConfigurationRoot configuration, ITransaction <PointsGameDbContext> transaction, HelperDynamic dynamicHelper,
                    ISearchStore searchStore, HelperSendClientMessage sendClientMessageManager)
 {
     _allocateStore            = allocateStore;
     _giftStore                = giftStore;
     _config                   = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _transaction              = transaction ?? throw new ArgumentNullException(nameof(transaction));
     _dynamicHelper            = dynamicHelper ?? throw new ArgumentNullException(nameof(dynamicHelper));
     _iSearchStore             = searchStore;
     _sendClientMessageManager = sendClientMessageManager;
 }