public CartItemViewModelFactory(
     IContentLoader contentLoader,
     IPricingService pricingService,
     UrlResolver urlResolver,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     IPromotionService promotionService,
     AppContextFacade appContext,
     ILineItemCalculator lineItemCalculator,
     IProductService productService, 
     IRelationRepository relationRepository, 
     ICartService cartService)
 {
     _contentLoader = contentLoader;
     _pricingService = pricingService;
     _urlResolver = urlResolver;
     _currentMarket = currentMarket;
     _currencyService = currencyService;
     _promotionService = promotionService;
     _appContext = appContext;
     _lineItemCalculator = lineItemCalculator;
     _productService = productService;
     _relationRepository = relationRepository;
     _cartService = cartService;
 }
Пример #2
0
 public PricingService(IPriceService priceService,
     ICurrentMarket currentMarket, 
     ICurrencyService currencyService,
     AppContextFacade appContext)
 {
     _priceService = priceService;
     _currentMarket = currentMarket;
     _currencyService = currencyService;
     _appContext = appContext;
 }
Пример #3
0
 public CatalogIndexer()
 {
     _priceService = ServiceLocator.Current.GetInstance<IPriceService>();
     _contentLoader = ServiceLocator.Current.GetInstance<IContentLoader>(); 
     _promotionService = ServiceLocator.Current.GetInstance<IPromotionService>(); 
     _referenceConverter = ServiceLocator.Current.GetInstance<ReferenceConverter>();
     _assetUrlResolver = ServiceLocator.Current.GetInstance<AssetUrlResolver>();
     _relationRepository = ServiceLocator.Current.GetInstance<IRelationRepository>();
     _appContext = ServiceLocator.Current.GetInstance<AppContextFacade>();
     _log = LogManager.GetLogger(typeof(CatalogIndexer));
 }
 public SearchDocumentController(IPriceService priceService,
     IPromotionService promotionService,
     IContentLoader contentLoader,
     ReferenceConverter referenceConverter,
     AssetUrlResolver assetUrlResolver,
     IRelationRepository relationRepository,
     AppContextFacade appContext)
 {
     _priceService = priceService;
     _promotionService = promotionService;
     _contentLoader = contentLoader;
     _referenceConverter = referenceConverter;
     _assetUrlResolver = assetUrlResolver;
     _relationRepository = relationRepository;
     _appContext = appContext;
 }
Пример #5
0
 public CatalogIndexer(ICatalogSystem catalogSystem, 
     IPriceService priceService, 
     IInventoryService inventoryService, 
     MetaDataContext metaDataContext, 
     IContentLoader contentLoader,
     IPromotionService promotionService,
     ReferenceConverter referenceConverter,
     AssetUrlResolver assetUrlResolver,
     IRelationRepository relationRepository,
     AppContextFacade appContext,
     ILogger logger)
     : base(catalogSystem, priceService, inventoryService, metaDataContext)
 {
     _priceService = priceService;
     _contentLoader = contentLoader;
     _promotionService = promotionService;
     _referenceConverter = referenceConverter;
     _assetUrlResolver = assetUrlResolver;
     _relationRepository = relationRepository;
     _appContext = appContext;
     _log = logger;
 }
Пример #6
0
 public ProductService(IContentLoader contentLoader,
     IPromotionService promotionService,
     IPricingService pricingService,
     UrlResolver urlResolver,
     LinksRepository linksRepository,
     IRelationRepository relationRepository,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     AppContextFacade appContext,
     ReferenceConverter referenceConverter)
 {
     _contentLoader = contentLoader;
     _promotionService = promotionService;
     _pricingService = pricingService;
     _urlResolver = urlResolver;
     _linksRepository = linksRepository;
     _relationRepository = relationRepository;
     _preferredCulture = ContentLanguage.PreferredCulture;
     _currentMarket = currentMarket;
     _currencyService = currencyService;
     _appContext = appContext;
     _referenceConverter = referenceConverter;
 }