public BrandService(IDbContext dbContext, IRepository <Brand> brandRepository, IRepository <BrandMedia> brandMediaRepository, IRepository <BrandCategory> brandCategoryRepository, IRepository <Delivery> deliveryRepository, IRepository <BrandFeaturedItem> brandFeaturedItemRepository, IRepository <Product> productRepository, IRepository <ProductCategory> productCategoryRepository, IRepository <Category> categoryRepository, IRepository <CategoryFilter> categoryFilterRepository, IRepository <ProductPrice> productPriceRepository, IRepository <CategoryFeaturedBrand> categoryFeaturedBrandRepository, ILogBuilder logBuilder, ICacheManager cacheManager) { _dbContext = dbContext; _brandRepository = brandRepository; _brandMediaRepository = brandMediaRepository; _brandCategoryRepository = brandCategoryRepository; _deliveryRepository = deliveryRepository; _brandFeaturedItemRepository = brandFeaturedItemRepository; _productRepository = productRepository; _productCategoryRepository = productCategoryRepository; _categoryRepository = categoryRepository; _categoryFilterRepository = categoryFilterRepository; _productPriceRepository = productPriceRepository; _categoryFeaturedBrandRepository = categoryFeaturedBrandRepository; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public CatalogUtility( ILogBuilder logBuilder, AttributeUtility attributeUtility) { _logger = logBuilder.CreateLogger(typeof(CatalogUtility).FullName); _attributeUtility = attributeUtility; }
public UtilityService( IRepository <Testimonial> testimonialRepository, IRepository <CustomDictionary> customDictionaryRepository, IRepository <StockNotification> stockNotificationRepository, IRepository <Product> productRepository, IRepository <ProductPrice> productPriceRepository, IIPToCountry ipToCountry, ILogBuilder logBuilder, ISettingService settings, IEmailManager emailManager, ICacheNotifier cacheNotifier, IEnumerable <Lazy <ICacheManager, ICacheManagerMetadata> > cacheManagers, ISitemapGenerator sitemapGenerator, ICurrencyService currencyService, IGenericAttributeService genericAttributeService, IProductBuilder productBuilder, CacheSettings cacheSettings) { _testimonialRepository = testimonialRepository; _customDictionaryRepository = customDictionaryRepository; _stockNotificationRepository = stockNotificationRepository; _productRepository = productRepository; _productPriceRepository = productPriceRepository; _ipToCountry = ipToCountry; _settings = settings; _emailManager = emailManager; _cacheNotifier = cacheNotifier; _cacheManagers = cacheManagers; _sitemapGenerator = sitemapGenerator; _currencyService = currencyService; _genericAttributeService = genericAttributeService; _productBuilder = productBuilder; _cacheSettings = cacheSettings; _logger = logBuilder.CreateLogger(GetType().FullName); }
public WidgetService( ILogBuilder logBuilder, IPluginFinder pluginFinder, WidgetSettings widgetSettings) { _pluginFinder = pluginFinder; _widgetSettings = widgetSettings; logger = logBuilder.CreateLogger(GetType().FullName); }
public SettingService( IRepository <Setting> settingRepository, ILogBuilder logBuilder, ICacheManager cacheManager) { _settingRepository = settingRepository; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public CacheNotifier(CacheSettings cacheSettings, ILogBuilder logBuilder) { if (logBuilder == null) { throw new ArgumentException("logBuilder"); } _logger = logBuilder.CreateLogger(GetType().FullName); _cacheSettings = cacheSettings; }
public CartService( IDbContext dbContext, IRepository <Account> accountRepository, IRepository <CartItem> cartItemRepository, IRepository <Currency> currencyRepository, IRepository <Country> countryRepository, IRepository <ProductMedia> productMediaRepository, IRepository <ShippingOption> shippingOptionRepository, IRepository <OfferRule> offerRuleRepository, IRepository <CartPharmOrder> cartPharmOrderRepository, IRepository <CartPharmItem> cartPharmItemRepository, IRepository <TaxCategory> taxCategoryRepository, IOrderCalculator orderCalculator, IOfferService offerService, ICurrencyService currencyService, IGenericAttributeService genericAttributeService, IShippingService shippingService, IAccountService accountService, ICartValidator cartValidator, ICacheManager cacheManager, ILogBuilder logBuilder, IProductBuilder productBuilder, ICartItemBuilder cartItemBuilder, ShoppingCartSettings shoppingCartSettings, TaxSettings taxSettings, MediaSettings mediaSettings, ShippingSettings shippingSettings) { _dbContext = dbContext; _accountRepository = accountRepository; _cartItemRepository = cartItemRepository; _currencyRepository = currencyRepository; _countryRepository = countryRepository; _productMediaRepository = productMediaRepository; _shippingOptionRepository = shippingOptionRepository; _offerRuleRepository = offerRuleRepository; _cartPharmOrderRepository = cartPharmOrderRepository; _cartPharmItemRepository = cartPharmItemRepository; _taxCategoryRepository = taxCategoryRepository; _orderCalculator = orderCalculator; _offerService = offerService; _currencyService = currencyService; _genericAttributeService = genericAttributeService; _shippingService = shippingService; _accountService = accountService; _cartValidator = cartValidator; _cacheManager = cacheManager; _productBuilder = productBuilder; _cartItemBuilder = cartItemBuilder; _shoppingCartSettings = shoppingCartSettings; _taxSettings = taxSettings; _mediaSettings = mediaSettings; _shippingSettings = shippingSettings; _logger = logBuilder.CreateLogger(GetType().FullName); }
public WidgetsGoogleAdwordsController( IWorkContext workContext, ISettingService settingService, IOrderService orderService, ILogBuilder logBuilder) { this._workContext = workContext; this._settingService = settingService; this._orderService = orderService; this._logger = logBuilder.CreateLogger(this.GetType().FullName); }
public BlogService( IRepository <BlogPost> blogPostRepository, IRepository <BlogComment> blogCommentRepository, ILogBuilder logBuilder, IAccountService accountService) { _blogPostRepository = blogPostRepository; _blogCommentRepository = blogCommentRepository; _accountService = accountService; _logger = logBuilder.CreateLogger(GetType().FullName); }
public ImageUtility(ILogBuilder logBuilder, AdminStoreUtility storeUtility, MediaSettings mediaSettings) { if (logBuilder == null) { throw new ArgumentException("logBuilder"); } this._logger = logBuilder.CreateLogger(typeof(ImageUtility).FullName); this._storeUtility = storeUtility; this._mediaSettings = mediaSettings; }
public WidgetsGoogleAnalyticsController( IWorkContext workContext, ISettingService settingService, IOrderService orderService, ICategoryService categoryService, ILogBuilder logBuilder) { _workContext = workContext; _settingService = settingService; _orderService = orderService; _logger = logBuilder.CreateLogger(GetType().FullName); _categoryService = categoryService; }
public ReportService(IDbContext dbContext, IRepository <ProductPrice> productPriceRepository, IRepository <Order> orderRepository, IRepository <Country> countryRepository, IRepository <LineItem> lineItemRepository, ILogBuilder logBuilder) { _dbContext = dbContext; _productPriceRepository = productPriceRepository; _orderRepository = orderRepository; _countryRepository = countryRepository; _lineItemRepository = lineItemRepository; _logger = logBuilder.CreateLogger(GetType().FullName); }
public SearchService(IBrandService brandService, IProductService productService, IRepository <SearchTerm> searchTermRepository, IRepository <CustomDictionary> customDictionaryRepository, ISpellCheckerService spellCheckerService, ILogBuilder logBuilder) { _brandService = brandService; _searchTermRepository = searchTermRepository; _customDictionaryRepository = customDictionaryRepository; _productService = productService; _spellCheckerService = spellCheckerService; _logger = logBuilder.CreateLogger(GetType().FullName); }
public ShippingService(IRepository <ShippingOption> shippingOptionRepository, IRepository <Country> countryRepository, IRepository <USState> usStateRepository, IRepository <Delivery> deliveryRepository, ICacheManager cacheManager, ILogBuilder logBuilder) { _shippingOptionRepository = shippingOptionRepository; _countryRepository = countryRepository; _usStateRepository = usStateRepository; _deliveryRepository = deliveryRepository; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public OfferUtility(IOfferService offerService, ILogBuilder logBuilder) { if (offerService == null) { throw new ArgumentException("offerService"); } if (logBuilder == null) { throw new ArgumentException("logBuilder"); } this._offerService = offerService; this._logger = logBuilder.CreateLogger(typeof(OfferUtility).FullName); }
public CampaignService(IRepository <LargeBanner> largeBannerRepository, IRepository <OfferBanner> offerBannerRepository, IRepository <ProductGroupMapping> productGroupMappingRepository, IRepository <ProductGroup> productGroupRepository, IRepository <SearchTerm> searchTermRepository, ILogBuilder logBuilder, ICacheManager cacheManager) { _largeBannerRepository = largeBannerRepository; _offerBannerRepository = offerBannerRepository; _productGroupMappingRepository = productGroupMappingRepository; _productGroupRepository = productGroupRepository; _searchTermRepository = searchTermRepository; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public AffiliateWindowFeedGenerator( ICategoryService categoryService, ILogBuilder logBuilder, IOrderCalculator orderCalculator, StoreInformationSettings storeInformationSettings, MediaSettings mediaSettings) { _categoryService = categoryService; _storeInformationSettings = storeInformationSettings; _mediaSettings = mediaSettings; _orderCalculator = orderCalculator; _logger = logBuilder.CreateLogger(GetType().FullName); if (_logger == null) { throw new NullReferenceException("Object logger is null as Object logBuilder was failed to create logger."); } }
public PaymentService( IRepository <Account> accountRepository, IRepository <Address> addressRepository, IRepository <Product> productRepository, IRepository <Brand> brandRepository, IRepository <EmailInvoice> emailInvoiceRepository, IRepository <ProductPrice> productPriceRepository, IRepository <Order> orderRepository, IRepository <OrderPayment> orderPaymentRepository, IRepository <LineItem> lineItemRepository, IRepository <SystemCheck> systemCheckRepository, IRepository <Country> countryRepository, IRepository <USState> usStateRepository, IOrderService orderService, IPaymentSystemService paymentSystem, IAccountService accountService, IEmailManager emailManager, ILogBuilder logBuilder, ISystemCheckService systemCheckService, IAddressBuilder addressBuilder, ICacheManager cacheManager) { _accountRepository = accountRepository; _addressRepository = addressRepository; _productRepository = productRepository; _brandRepository = brandRepository; _emailInvoiceRepository = emailInvoiceRepository; _productPriceRepository = productPriceRepository; _orderRepository = orderRepository; _orderPaymentRepository = orderPaymentRepository; _lineItemRepository = lineItemRepository; _systemCheckRepository = systemCheckRepository; _countryRepository = countryRepository; _usStateRepository = usStateRepository; _orderService = orderService; _accountService = accountService; _paymentSystem = paymentSystem; _emailManager = emailManager; _systemCheckService = systemCheckService; _addressBuilder = addressBuilder; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public CategoryService( IDbContext dbContext, IRepository <Category> categoryRepository, IRepository <CategoryFilter> categoryFilterRepository, IRepository <CategoryMedia> categoryMediaRepository, IRepository <CategoryFeaturedItem> categoryFeaturedItemRepository, IRepository <CategoryFeaturedBrand> categoryFeaturedBrandRepository, IRepository <CategoryWhatsNew> categoryWhatsNewRepository, IRepository <CategoryTemplate> categoryTemplateRepository, IRepository <GoogleTaxonomy> googleTaxonomyRepository, IRepository <Brand> brandRepository, IRepository <Product> productRepository, IRepository <ProductCategory> productCategoryRepository, IRepository <ProductCategoryFilter> productCategoryFilterRepository, IRepository <ProductPrice> productPriceRepository, IRepository <CategoryLargeBannerMapping> categoryLargeBannerMappingRepository, IRepository <LargeBanner> largeBannerRepository, ILogBuilder logBuilder, ICacheManager cacheManager, MediaSettings mediaSettings) { _dbContext = dbContext; _categoryRepository = categoryRepository; _categoryFilterRepository = categoryFilterRepository; _categoryMediaRepository = categoryMediaRepository; _categoryFeaturedItemRepository = categoryFeaturedItemRepository; _categoryFeaturedBrandRepository = categoryFeaturedBrandRepository; _categoryWhatsNewRepository = categoryWhatsNewRepository; _categoryTemplateRepository = categoryTemplateRepository; _googleTaxonomyRepository = googleTaxonomyRepository; _brandRepository = brandRepository; _productRepository = productRepository; _productCategoryRepository = productCategoryRepository; _productCategoryFilterRepository = productCategoryFilterRepository; _productPriceRepository = productPriceRepository; _categoryLargeBannerMappingRepository = categoryLargeBannerMappingRepository; _largeBannerRepository = largeBannerRepository; _cacheManager = cacheManager; _mediaSettings = mediaSettings; _logger = logBuilder.CreateLogger(GetType().FullName); }
public CartUtility( ILogBuilder logBuilder, ICartValidator cartValidator, IProductBuilder productBuilder, IRepository <Order> orderRepository, IRepository <Country> countryRepository, IRepository <CartItem> cartItemRepository, IRepository <OfferType> offerTypeRepository, AttributeUtility attributeUtility, MediaSettings mediaSettings) { _logger = logBuilder.CreateLogger(typeof(CartUtility).FullName); _mediaSettings = mediaSettings; _cartValidator = cartValidator; _attributeUtility = attributeUtility; _productBuilder = productBuilder; _orderRepository = orderRepository; _countryRepository = countryRepository; _cartItemRepository = cartItemRepository; _offerTypeRepository = offerTypeRepository; }
public CustomerController( IAccountService accountService, ICartService cartService, IShippingService shippingService, IUtilityService utilityService, IAuthenticationService authenticationService, IIdentityExternalAuthService identityExternalAuthService, IWorkContext workContext, ILogBuilder logBuilder, ApolloSessionState session) { _accountService = accountService; _cartService = cartService; _shippingService = shippingService; _utilityService = utilityService; _authenticationService = authenticationService; _identityExternalAuthService = identityExternalAuthService; _workContext = workContext; _session = session; _logger = logBuilder.CreateLogger(typeof(CustomerController).FullName); }
public OfferService(IDbContext dbContext, IRepository <Category> categoryRepository, IRepository <OfferRule> offerRuleRepository, IRepository <OfferAction> offerActionRepository, IRepository <OfferActionAttribute> offerActionAttributeRepository, IRepository <OfferCondition> offerConditionRepository, IRepository <OfferOperator> offerOperatorRepository, IRepository <OfferRelatedItem> offerRelatedItemRepository, IRepository <OfferAttributeWithOperator> offerAttributeWithOperatorRepository, IRepository <OfferAttribute> offerAttributeRepository, IRepository <OfferType> offerTypeRepository, IRepository <Product> productRepository, ICartOfferProcessor cartOfferProcessor, ICatalogOfferProcessor catalogOfferProcessor, IGenericAttributeService genericAttributeService, ILogBuilder logBuilder, ICacheManager cacheManager) { _dbContext = dbContext; _categoryRepository = categoryRepository; _offerRuleRepository = offerRuleRepository; _offerActionRepository = offerActionRepository; _offerActionAttributeRepository = offerActionAttributeRepository; _offerConditionRepository = offerConditionRepository; _offerOperatorRepository = offerOperatorRepository; _offerRelatedItemRepository = offerRelatedItemRepository; _offerAttributeWithOperatorRepository = offerAttributeWithOperatorRepository; _offerAttributeRepository = offerAttributeRepository; _offerTypeRepository = offerTypeRepository; _productRepository = productRepository; _cartOfferProcessor = cartOfferProcessor; _catalogOfferProcessor = catalogOfferProcessor; _genericAttributeService = genericAttributeService; _cacheManager = cacheManager; _logger = logBuilder.CreateLogger(GetType().FullName); }
public AccountBuilder(IRepository <Subscriber> subscriberRepository, IWebMembership webMembership, ILogBuilder logBuilder) { _subscriberRepository = subscriberRepository; _webMembership = webMembership; _logger = logBuilder.CreateLogger(GetType().FullName); }
public EmailManager(ILogBuilder logBuilder, EmailSettings emailSettings) { _logger = logBuilder.CreateLogger(typeof(EmailManager).FullName); }