public Runner(IFeedCmsProductArchiveEntryService feedCmsProductArciveEntryService, IFeedRuleService feedRuleService, IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService) { _feedCmsProductArciveEntryService = feedCmsProductArciveEntryService; _feedRuleService = feedRuleService; _indigoCategoryService = indigoCategoryService; _googleCategoryService = googleCategoryService; }
public Runner(IFeedCmsProductArchiveEntryService feedCmsProductArchiveEntryService, IFeedRuleService feedRuleService, IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, IOutputInstructionProcessor outputInstructionProcessor) { _feedCmsProductArchiveEntryServiceShared = feedCmsProductArchiveEntryService; _feedRuleService = feedRuleService; _indigoCategoryService = indigoCategoryService; _googleCategoryService = googleCategoryService; _outputInstructionProcessor = outputInstructionProcessor; }
public Builder(IGoogleCategoryService googleCategoryService, IIndigoCategoryService indigoCategoryService, IInputDataProvider inputDataProvider, PathResolver pathResolver) { _googleCategoryService = googleCategoryService; _indigoCategoryService = indigoCategoryService; _inputDataProvider = inputDataProvider; _pathResolver = pathResolver; _counters = new Counters.Counters(); }
private IndigoBreadcrumbDataRetriever(IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, ILogger log) { _indigoCategoriesByBrowseCategoryId = new ConcurrentDictionary <int, List <IIndigoBreadcrumbCategory> >(); _indigoCategoriesByIndigoCategoryId = new ConcurrentDictionary <int, IIndigoBreadcrumbCategory>(); _topLevelIndigoCategories = new ConcurrentDictionary <int, IIndigoBreadcrumbCategory>(); _excludedBrowseCategoryIds = new List <int>(); _indigoCategoryService = indigoCategoryService; _googleCategoryService = googleCategoryService; _log = log; LoadData(); }
public Builder(IGoogleCategoryService googleCategoryService, PathResolver pathResolver) { _googleCategoryService = googleCategoryService; _pathResolver = pathResolver; }
// Mock constructor public Builder(IGoogleCategoryService googleCategoryService, PathResolver pathResolver, Func <TextReader> createReader) : this(googleCategoryService, pathResolver) { _createReader = createReader; }
public Mapper(IGoogleCategoryService googleCategoryService, IIndigoCategoryService indigoCategoryService) { _googleCategoryService = googleCategoryService; _indigoCategoryServiceProxy = new IndigoCategoryServiceProxy(indigoCategoryService); }
public FeedGeneratorIndigoCategoryService(IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, ILogger log) { _log = log; _feedGeneratorIndigoBreadcrumbRepository = new FeedGeneratorIndigoBreadcrumbRepository(indigoCategoryService, googleCategoryService, log); _indigoBreadcrumbService = new IndigoBreadcrumbService(_feedGeneratorIndigoBreadcrumbRepository); _indigoCategoryService = indigoCategoryService; }
public static IndigoBreadcrumbDataRetriever GetInstance(IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, ILogger log) { if (_instance != null) { return(_instance); } lock (SyncRoot) { if (_instance == null) { _instance = new IndigoBreadcrumbDataRetriever(indigoCategoryService, googleCategoryService, log); } } return(_instance); }
public FeedGeneratorIndigoBreadcrumbRepository(IIndigoCategoryService indigoCategoryService, IGoogleCategoryService googleCategoryService, ILogger log) { _indigoBreadcrumbDataRetriever = IndigoBreadcrumbDataRetriever.GetInstance(indigoCategoryService, googleCategoryService, log); _log = log; }