예제 #1
0
        public CommonSmsService(ISystemParameters systemParameters, ILogService logService, IUnitOfWork unitOfWork)
        {
            this.systemParameters = systemParameters;
            this.logService       = logService;
            this.unitOfWork       = unitOfWork;
            this.tradeService     = new TradeService(unitOfWork, logService);

            this.uniqueJobList = new UniqueJobList(systemParameters, logService, unitOfWork);
        }
예제 #2
0
        public EfSmsBackgroundJob(ISystemParameters systemParameters, IUnitOfWork unitOfWork, ILogService logService)
        {
            System.Threading.Thread.CurrentThread.CurrentCulture   = new System.Globalization.CultureInfo("en-US");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");

            this.systemParameters = systemParameters;
            this.unitOfWork       = unitOfWork;
            this.logService       = logService;
            this.tradeService     = new TradeService(unitOfWork, logService);

            this.uniqueJobList = new UniqueJobList(systemParameters, logService, unitOfWork);
            this.sendMessageStatisticService = new SendMessageStatisticService(logService, unitOfWork);
        }