コード例 #1
0
        public DisneyStarWars2018Service(IDisneyStarWars2018InstantLotteryRepository repo, IDisneyStarWars2018InstantLotteryPrizeSettingRepository settingRepo, ITimeProvider time)
        {
            this.repo        = repo;
            this.settingRepo = settingRepo;
            this.time        = time;

            this.prizeSelector = new EventNaverPrizeSelector <DisneyStarWars2018InstantLotteryPrizeSetting, DisneyStarWars2018InstantLotteryPrizeType>();
        }
コード例 #2
0
        public KittyJusticeLeagueService(IKittyJusticeLeagueInstantLotteryRepository repo, IKittyJusticeLeagueInstantLotteryPrizeSettingRepository settingRepo, ITimeProvider time)
        {
            this.repo        = repo;
            this.settingRepo = settingRepo;
            this.time        = time;

            this.prizeSelector = new EventNaverPrizeSelector <KittyJusticeLeagueInstantLotteryPrizeSetting, KittyJusticeLeagueInstantLotteryPrizeType>();
        }
コード例 #3
0
        public Pororo2018Service(IPororo2018InstantLotteryRepository repo, IPororo2018InstantLotteryPrizeSettingRepository settingRepo, ITimeProvider time)
        {
            this.repo        = repo;
            this.settingRepo = settingRepo;
            this.time        = time;

            this.prizeSelector = new EventNaverPrizeSelector <Pororo2018InstantLotteryPrizeSetting, Pororo2018InstantLotteryPrizeType>();
        }
コード例 #4
0
 public Christmas2015Repository()
 {
     context       = AppDbContext.Create();
     prizeSelector = new EventNaverPrizeSelector <Christmas2015EnumConst.Christmas2015WinPrizeSetting, Christmas2015EnumConst.Christmas2015WinPrize>();
 }
コード例 #5
0
 public Christmas2015Repository(AppDbContext context)
 {
     this.context  = context;
     prizeSelector = new EventNaverPrizeSelector <Christmas2015EnumConst.Christmas2015WinPrizeSetting, Christmas2015EnumConst.Christmas2015WinPrize>();
 }