public PublishStockBalanceUpdatesTask( ITaskSettings settings, ILastCallsRepository lastCallsRepository, IStockBalanceQuery stockBalanceQuery, IPimCommandService pimCommandService) { _settings = settings; _lastCallsRepository = lastCallsRepository; _stockBalanceQuery = stockBalanceQuery; _pimCommandService = pimCommandService; }
public GetNewProductsTask( ITaskSettings settings, ILastCallsRepository lastCallsRepository, IPimQueryService pimQueryService, IPimCommandService pimCommandService, IArticleManager articleManager, IMapper mapper) { _settings = settings; _lastCallsRepository = lastCallsRepository; _pimQueryService = pimQueryService; _pimCommandService = pimCommandService; _articleManager = articleManager; _mapper = mapper; }
public PublishPriceUpdatesTask( ITaskSettings settings, ILastCallsRepository lastCallsRepository, IPriceUpdateQuery priceUpdateQuery, ICustomerAgreementQuery customerAgreementQuery, IPimCommandService pimCommandService) { _settings = settings; _lastCallsRepository = lastCallsRepository; _priceUpdateQuery = priceUpdateQuery; _pimCommandService = pimCommandService; _customerAgreementQuery = customerAgreementQuery; _timeOfLastQueryForPriceUpdates = lastCallsRepository.GetTimeOfLastQueryForPriceUpdates(); }
public void SetUp() { _settings = CreateTaskSettings(10); _settings.SqliteConnectionString = ConfigurationManager.ConnectionStrings["SQLite"].ConnectionString; _repository = new LastCallsRepository(_settings); }