public UserInfoController(ICommandService commandService, IUserInfoService userInfoService, ILotteryQueryService lotteryQueryService) : base(commandService) { _userInfoService = userInfoService; _lotteryQueryService = lotteryQueryService; }
public LotterEngine(LotteryInfoDto lotteryInfo) { _lotteryInfo = lotteryInfo; _timeRuleManager = new TimeRuleManager(_lotteryInfo); _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _finalDataQueryService = ObjectContainer.Resolve <ILotteryFinalDataQueryService>(); _typeFinder = ObjectContainer.Resolve <ITypeFinder>(); InitializationPerdictor(); }
public JobFactory() { _scheduleTaskQueryService = ObjectContainer.Resolve <IScheduleTaskQueryService>(); _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _normConfigQueryService = ObjectContainer.Resolve <INormConfigQueryService>(); _lotteryPredictDataService = ObjectContainer.Resolve <ILotteryPredictDataService>(); _lotteryPredictDataQueryService = ObjectContainer.Resolve <ILotteryPredictDataQueryService>(); _commandService = ObjectContainer.Resolve <ICommandService>(); _scheduleTasks = _scheduleTaskQueryService.GetAllScheduleTaskInfos(); InitScheduleJob(); }
public SellAppService(ISellQueryService sellQueryService, IActivityQueryService activityQueryService, ILotteryQueryService lotteryQueryService, ISellCallBackService sellCallBackService) { _sellQueryService = sellQueryService; _activityQueryService = activityQueryService; _lotteryQueryService = lotteryQueryService; _sellCallBackService = sellCallBackService; _lotterySession = NullLotterySession.Instance; _httpClient = new HttpClient(); _logger = NullLotteryLogger.Instance; }
public LotteryPredictDataService(ILotteryFinalDataQueryService lotteryFinalDataQueryService, ILotteryQueryService lotteryQueryService, ILotteryPredictDataQueryService lotteryPredictDataQueryService, IPlanInfoQueryService planInfoQueryService, ILotteryDataQueryService lotteryDataQueryService) { _lotteryFinalDataQueryService = lotteryFinalDataQueryService; _lotteryQueryService = lotteryQueryService; _lotteryPredictDataQueryService = lotteryPredictDataQueryService; _planInfoQueryService = planInfoQueryService; _lotteryDataQueryService = lotteryDataQueryService; _logger = NullLotteryLogger.Instance; }
protected BaseApiController(ICommandService commandService) { _commandService = commandService; _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _lotterySession = NullLotterySession.Instance; _logger = NullLotteryLogger.Instance; _memberAppService = ObjectContainer.Resolve <IMemberAppService>(); if (_lotterySession.SystemType == SystemType.App) { InitLotteryInfo(); _userMemberRank = _memberAppService.GetUserMemRank(_lotterySession.UserId, _lotterySession.SystemTypeId); } }
protected RunLotteryAbstractJob() { PreInitialize(); LastStart = DateTime.Now; _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _lotteryFinalDataQueryService = ObjectContainer.Resolve <ILotteryFinalDataQueryService>(); _commandService = ObjectContainer.Resolve <ICommandService>(); _lotteryDataQueryService = ObjectContainer.Resolve <ILotteryDataQueryService>(); _lotteryInfo = _lotteryQueryService.GetLotteryInfoByCode(_lotteryCode); _timeRuleManager = new TimeRuleManager(_lotteryInfo); _lotteryFinalData = _lotteryFinalDataQueryService.GetFinalData(_lotteryInfo.Id); _dataUpdateItems = DataUpdateContext.GetDataUpdateItems(_lotteryInfo.Id); _isStart = true; PostinItialize(); }
public LotteryController(ILotteryDataAppService lotteryDataAppService, ICommandService commandService, INormConfigQueryService normConfigQueryService, ILotteryPredictDataQueryService lotteryPredictDataQueryService, IPlanTrackAppService planTrackAppService, ILotteryQueryService lotteryQueryService, ICacheManager cacheManager) : base(commandService) { _lotteryDataAppService = lotteryDataAppService; _normConfigQueryService = normConfigQueryService; _lotteryPredictDataQueryService = lotteryPredictDataQueryService; _planTrackAppService = planTrackAppService; _lotteryQueryService = lotteryQueryService; _cacheManager = cacheManager; }
public LotteryDataAppService( ILotteryDataQueryService lotteryDataQueryService, INormConfigQueryService normConfigQueryService, ILotteryPredictDataService lotteryPredictDataService, ILotteryFinalDataQueryService lotteryFinalDataQueryService, ILotteryQueryService lotteryQueryService, IPlanInfoQueryService planInfoQueryService, IPredictService predictService) { _lotteryDataQueryService = lotteryDataQueryService; _normConfigQueryService = normConfigQueryService; _lotteryPredictDataService = lotteryPredictDataService; _lotteryFinalDataQueryService = lotteryFinalDataQueryService; _lotteryQueryService = lotteryQueryService; _planInfoQueryService = planInfoQueryService; _predictService = predictService; }
public AccountController(IUserManager userManager, ICommandService commandService, UserInfoInputValidator userInfoInputValidator, UserProfileInputValidator userProfileInputValidator, ILotteryQueryService lotteryQueryService, IConLogQueryService conLogQueryService, IIdentifyCodeAppService identifyCodeAppService, IPointQueryService pointQueryService) : base(commandService) { _userManager = userManager; _userInfoInputValidator = userInfoInputValidator; _userProfileInputValidator = userProfileInputValidator; _lotteryQueryService = lotteryQueryService; _conLogQueryService = conLogQueryService; _identifyCodeAppService = identifyCodeAppService; _pointQueryService = pointQueryService; }
public NormController(ICommandService commandService, INormConfigAppService normConfigAppService, UserNormConfigInputValidator userNormDefaultConfigInputValidator, IUserNormDefaultConfigService userNormDefaultConfigService, INormPlanConfigQueryService normPlanConfigQueryService, ILotteryQueryService lotteryQueryService, IPlanInfoQueryService planInfoQueryService, ICacheManager cacheManager) : base(commandService) { _normConfigAppService = normConfigAppService; _userNormDefaultConfigInputValidator = userNormDefaultConfigInputValidator; _userNormDefaultConfigService = userNormDefaultConfigService; _normPlanConfigQueryService = normPlanConfigQueryService; _lotteryQueryService = lotteryQueryService; _planInfoQueryService = planInfoQueryService; _cacheManager = cacheManager; }
public LotteryPredictTableService(ILotteryQueryService lotteryQueryService, IPlanInfoQueryService planInfoQueryService, ICommandService commandService) { _lotteryQueryService = lotteryQueryService; _planInfoQueryService = planInfoQueryService; _commandService = commandService; }
static EngineContext() { _lotteryQueryService = ObjectContainer.Resolve <ILotteryQueryService>(); _lotteryInfos = _lotteryQueryService.GetAllLotteryInfo(); }