Esempio n. 1
0
 public BalanceTasks(IUsersService usersSvc, ILogger logger, ISport_DataService sport_DataService, IXML_DataService xml_DataService, IDigitalLotteryService digitalLotteryService, ILotteryDetailService lotteryDetailService, IKaiJiangWangService kaiJiangWangService, IJddDataService jddDataService, IAgentIPService agentIPService)
 {
     this._userSvc          = usersSvc;
     this.log               = LogManager.GetLogger(Program.repository.Name, typeof(BalanceTasks));
     this._logger           = logger;
     _sport_DataService     = sport_DataService;
     _xml_DataService       = xml_DataService;
     _digitalLotteryService = digitalLotteryService;
     _ILotteryDetailService = lotteryDetailService;
     _IJddDataService       = jddDataService;
     _kaiJiangWangService   = kaiJiangWangService;
     _agentIPService        = agentIPService;
 }
Esempio n. 2
0
 public AgentIPControl(IAgentIPService agentIPService)
 {
     _agentIPService = agentIPService;
     log             = LogManager.GetLogger("LotteryRepository", typeof(AgentIPControl));
     int.TryParse(Smart.Core.Utils.ConfigFileHelper.Get("UseIPAgent"), out int UseAgent);
 }