コード例 #1
0
ファイル: PeriodManager.cs プロジェクト: LYD2015/PointsGame
 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;
 }
コード例 #2
0
ファイル: GiftManager.cs プロジェクト: LYD2015/PointsGame
 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;
 }