public Builder(IIndigoCategoryService indigoCategoryService, IIndigoBrandService indigoBrandService, IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, IDefaultRecosGeneratorService defaultRecosGeneratorService) { _indigoCategoryService = indigoCategoryService; _indigoBrandService = indigoBrandService; _feedCmsProductArciveEntryService = feedCmsProductArciveEntryService; _defaultRecosGeneratorService = defaultRecosGeneratorService; }
public Runner(IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, IFeedRuleService feedRuleService, IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService) { _feedCmsProductArciveEntryService = feedCmsProductArciveEntryService; _feedRuleService = feedRuleService; _indigoCategoryService = indigoCategoryService; _googleCategoryService = googleCategoryService; }
public RunnerHelper(IFeedRuleService feedRuleService, IFeedGeneratorIndigoCategoryService feedGeneratorIndigoCategoryService, IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, ILogger log) { _feedRuleService = feedRuleService; _feedGeneratorIndigoCategoryService = feedGeneratorIndigoCategoryService; _feedCmsProductArciveEntryService = feedCmsProductArciveEntryService; _log = log; }
public FeedGeneratorCmsDataService(IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, DateTime?fromTime) { _feedCmsProductArchiveEntryService = feedCmsProductArciveEntryService; _fromTime = fromTime; _productListSkus = new ConcurrentDictionary <long, IEnumerable <string> >(); _permanentCmsProductListSkus = new ConcurrentDictionary <PermanentCmsProductListIdCacheKey, IEnumerable <string> >(); }
public Runner(IFeedCmsProductArchiveEntryService feedCmsProductArchiveEntryService, IFeedRuleService feedRuleService, IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, IOutputInstructionProcessor outputInstructionProcessor) { _feedCmsProductArchiveEntryServiceShared = feedCmsProductArchiveEntryService; _feedRuleService = feedRuleService; _indigoCategoryService = indigoCategoryService; _googleCategoryService = googleCategoryService; _outputInstructionProcessor = outputInstructionProcessor; }
public RunnerHelper(IFeedRuleService feedRuleService, IFeedGeneratorIndigoCategoryService feedGeneratorIndigoCategoryService, IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, ILogger log, bool allowRuleOptimizations, bool allowRuleEntryRemovals, bool allowIEnumerableRuleEvaluations) { _feedRuleService = feedRuleService; _feedGeneratorIndigoCategoryService = feedGeneratorIndigoCategoryService; _feedCmsProductArciveEntryService = feedCmsProductArciveEntryService; _log = log; _allowRuleOptimizations = allowRuleOptimizations; _allowRuleEntryRemovals = allowRuleEntryRemovals; _allowIEnumerableRuleEvaluations = allowIEnumerableRuleEvaluations; }
public void Initialize(IExecutionLogLogger executionLogLogger, int plaFeedId, bool isIncremental, DateTime?fromTime, DateTime?effectiveFromTime, DateTime executionTime, bool isPseudoFullRun) { _executionLogLogger = executionLogLogger; _isIncrementalRun = isIncremental; _isPseudoFullRun = isPseudoFullRun; _effectiveFromTime = effectiveFromTime; // Instantiate the IFeedGeneratorIndigoCategoryService _feedGeneratorCategoryService = new FeedGeneratorIndigoCategoryService(_indigoCategoryService, _googleCategoryService, Log); // Instantiate the "caching" cms data services _feedCmsProductArchiveEntryService = new FeedGeneratorCmsDataService(_feedCmsProductArchiveEntryServiceShared, null); _pastFeedCmsProductArchiveEntryService = new FeedGeneratorCmsDataService(_feedCmsProductArchiveEntryServiceShared, fromTime); // First get rules associated with this feed _productDataService = new ProductDataService(null, _feedGeneratorCategoryService, _feedRuleService, _feedCmsProductArchiveEntryService, _feedGeneratorCategoryService, _pastFeedCmsProductArchiveEntryService); }