public MakeOvertimeOrdersDeletedBackgroundWorker( CommonOrderManager orderManager, InfrastructureTimer timer, IRepository <Order> orderRepository) : base(timer) { _orderManager = orderManager; _orderRepository = orderRepository; Timer.Period = 7200000; }
/// <summary> /// Initializes a new instance of the <see cref="BackgroundJobManager"/> class. /// </summary> public BackgroundJobManager( IIocResolver iocResolver, IBackgroundJobStore store, InfrastructureTimer timer) : base(timer) { _store = store; _iocResolver = iocResolver; Timer.Period = JobPollPeriod; }
public WithdrawFailedWithdrawBackgroundWorker(InfrastructureTimer timer, IRepository <WalletRecord> walletRecordRepository) : base(timer) { _walletRecordRepository = walletRecordRepository; Timer.Period = 7200000; }
/// <summary> /// Initializes a new instance of the <see cref="PeriodicBackgroundWorkerBase"/> class. /// </summary> /// <param name="timer">A timer.</param> protected PeriodicBackgroundWorkerBase(InfrastructureTimer timer) { Timer = timer; Timer.Elapsed += Timer_Elapsed; }