public ProductController(
     IPromotionService promotionService,
     IContentLoader contentLoader,
     IPriceService priceService,
     ICurrentMarket currentMarket,
     CurrencyService currencyservice,
     IRelationRepository relationRepository,
     AppContextFacade appContext,
     UrlResolver urlResolver,
     FilterPublished filterPublished,
     LanguageResolver languageResolver,
     IsInEditModeAccessor isInEditModeAccessor)
 {
     _promotionService   = promotionService;
     _contentLoader      = contentLoader;
     _priceService       = priceService;
     _currentMarket      = currentMarket;
     _currencyservice    = currencyservice;
     _relationRepository = relationRepository;
     _appContext         = appContext;
     _urlResolver        = urlResolver;
     _languageResolver   = languageResolver;
     _isInEditMode       = isInEditModeAccessor();
     _filterPublished    = filterPublished;
 }
 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;
 }
 public ProductController(
     IPromotionService promotionService,
     IContentLoader contentLoader,
     IPriceService priceService,
     ICurrentMarket currentMarket,
     CurrencyService currencyservice,
     IRelationRepository relationRepository,
     AppContextFacade appContext,
     UrlResolver urlResolver,
     FilterPublished filterPublished,
     PreferredCultureAccessor preferredCultureAccessor,
     IsInEditModeAccessor isInEditModeAccessor,
     IQuickOrderService quickOrderService)
 {
     _promotionService   = promotionService;
     _contentLoader      = contentLoader;
     _priceService       = priceService;
     _currentMarket      = currentMarket;
     _currencyservice    = currencyservice;
     _relationRepository = relationRepository;
     _appContext         = appContext;
     _urlResolver        = urlResolver;
     _preferredCulture   = preferredCultureAccessor();
     _isInEditMode       = isInEditModeAccessor();
     _filterPublished    = filterPublished;
     _quickOrderService  = quickOrderService;
 }
Exemple #4
0
 public ProductController(
     IPromotionEntryService promotionEntryService,
     IContentLoader contentLoader,
     IPriceService priceService,
     ICurrentMarket currentMarket,
     CurrencyService currencyservice,
     IRelationRepository relationRepository,
     AppContextFacade appContext,
     UrlResolver urlResolver,
     FilterPublished filterPublished,
     Func <CultureInfo> preferredCulture,
     Func <bool> isInEditMode)
 {
     _promotionEntryService = promotionEntryService;
     _contentLoader         = contentLoader;
     _priceService          = priceService;
     _currentMarket         = currentMarket;
     _currencyservice       = currencyservice;
     _relationRepository    = relationRepository;
     _appContext            = appContext;
     _urlResolver           = urlResolver;
     _preferredCulture      = preferredCulture();
     _isInEditMode          = isInEditMode();
     _filterPublished       = filterPublished;
 }
 public ProductService(IContentLoader contentLoader,
                       IPromotionService promotionService,
                       IPricingService pricingService,
                       UrlResolver urlResolver,
                       LinksRepository linksRepository,
                       IRelationRepository relationRepository,
                       ICurrentMarket currentMarketService,
                       ICurrencyService currencyService,
                       AppContextFacade appContext,
                       ReferenceConverter referenceConverter,
                       LanguageService languageService,
                       FilterPublished filterPublished)
 {
     _contentLoader        = contentLoader;
     _promotionService     = promotionService;
     _pricingService       = pricingService;
     _urlResolver          = urlResolver;
     _linksRepository      = linksRepository;
     _relationRepository   = relationRepository;
     _preferredCulture     = ContentLanguage.PreferredCulture;
     _currentMarketService = currentMarketService;
     _currencyService      = currencyService;
     _appContext           = appContext;
     _referenceConverter   = referenceConverter;
     _languageService      = languageService;
     _filterPublished      = filterPublished;
 }
Exemple #6
0
 public CartService(
     IProductService productService,
     IPricingService pricingService,
     IOrderGroupFactory orderGroupFactory,
     CustomerContextFacade customerContext,
     IPlacedPriceProcessor placedPriceProcessor,
     IInventoryProcessor inventoryProcessor,
     ILineItemValidator lineItemValidator,
     IOrderRepository orderRepository,
     IPromotionEngine promotionEngine,
     IAddressBookService addressBookService,
     ICurrentMarket currentMarket,
     ICurrencyService currencyService,
     AppContextFacade appContext,
     IPromotionService promotionService,
     ILineItemCalculator lineItemCalculator)
 {
     _productService       = productService;
     _pricingService       = pricingService;
     _orderGroupFactory    = orderGroupFactory;
     _customerContext      = customerContext;
     _placedPriceProcessor = placedPriceProcessor;
     _inventoryProcessor   = inventoryProcessor;
     _lineItemValidator    = lineItemValidator;
     _promotionEngine      = promotionEngine;
     _orderRepository      = orderRepository;
     _addressBookService   = addressBookService;
     _currentMarket        = currentMarket;
     _currencyService      = currencyService;
     _appContext           = appContext;
     _promotionService     = promotionService;
     _lineItemCalculator   = lineItemCalculator;
 }
 public PricingService(IPriceService priceService,
                       ICurrentMarket currentMarket,
                       AppContextFacade appContext)
 {
     _priceService  = priceService;
     _currentMarket = currentMarket;
     _appContext    = appContext;
 }
Exemple #8
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;
 }
Exemple #10
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;
 }
 public CartService(Func <string, CartHelper> cartHelper,
                    IContentLoader contentLoader,
                    ReferenceConverter referenceConverter,
                    UrlResolver urlResolver,
                    IProductService productService,
                    IPricingService pricingService,
                    IPromotionService promotionService,
                    AppContextFacade appContext,
                    ICurrentMarket currentMarket,
                    ICurrencyService currencyService)
 {
     _cartHelper         = cartHelper;
     _contentLoader      = contentLoader;
     _referenceConverter = referenceConverter;
     _preferredCulture   = ContentLanguage.PreferredCulture;
     _urlResolver        = urlResolver;
     _productService     = productService;
     _pricingService     = pricingService;
     _promotionService   = promotionService;
     _appContext         = appContext;
     _currentMarket      = currentMarket;
     _currencyService    = currencyService;
 }
Exemple #12
0
 public CatalogEntryViewModelFactory(
     IPromotionService promotionService,
     IContentLoader contentLoader,
     IPriceService priceService,
     ICurrentMarket currentMarket,
     CurrencyService currencyservice,
     IRelationRepository relationRepository,
     AppContextFacade appContext,
     UrlResolver urlResolver,
     FilterPublished filterPublished,
     LanguageResolver languageResolver)
 {
     _promotionService   = promotionService;
     _contentLoader      = contentLoader;
     _priceService       = priceService;
     _currentMarket      = currentMarket;
     _currencyservice    = currencyservice;
     _relationRepository = relationRepository;
     _appContext         = appContext;
     _urlResolver        = urlResolver;
     _filterPublished    = filterPublished;
     _languageResolver   = languageResolver;
 }