public OfflineTransactionCountsTask(ISettlementManager settlementManager, ISettlementServiceManager serviceManager) : base() { this.settlementManager = settlementManager; this.serviceManager = serviceManager; var configChunckSize = ConfigHelper.OfflineTransactionCountsRequestChunckSize; chunkSize = configChunckSize != default(int) ? configChunckSize : chunkSize; }
/// <summary> /// BaseSettlementQueueTask constructor /// </summary> protected BaseSettlementQueueTask(QueueCodeType queueCode) : base(queueCode) { // DbDrivenQueueProcessor can be swap out for another type of processor settlementManager = new SettlementManager(); serviceManager = new SettlementServiceManager(FileConfiguration.ReadAppSetting<string>(SETTLEMENT_SERVICE_CONFIG_NAME)); }