public XmlSitemapGenerator( ICategoryService categoryService, IProductService productService, IManufacturerService manufacturerService, ITopicService topicService, ILanguageService languageService, ICustomerService customerService, ICatalogSearchService catalogSearchService, IUrlRecordService urlRecordService, ICommonServices services, ILockFileManager lockFileManager, UrlHelper urlHelper) { _categoryService = categoryService; _productService = productService; _manufacturerService = manufacturerService; _topicService = topicService; _languageService = languageService; _customerService = customerService; _catalogSearchService = catalogSearchService; _urlRecordService = urlRecordService; _services = services; _lockFileManager = lockFileManager; _urlHelper = urlHelper; _tenantFolder = _services.ApplicationEnvironment.TenantFolder; _baseDir = _tenantFolder.Combine("Sitemaps"); Logger = NullLogger.Instance; }
public XmlSitemapGenerator( IEnumerable <Lazy <IXmlSitemapPublisher> > publishers, ILanguageService languageService, ICustomerService customerService, IUrlRecordService urlRecordService, ICommonServices services, ILockFileManager lockFileManager, UrlHelper urlHelper) { _publishers = publishers; _languageService = languageService; _customerService = customerService; _urlRecordService = urlRecordService; _services = services; _lockFileManager = lockFileManager; _urlHelper = urlHelper; _tenantFolder = _services.ApplicationEnvironment.TenantFolder; _baseDir = _tenantFolder.Combine("Sitemaps"); Logger = NullLogger.Instance; }