public PageViewContextFactory(IContentLoader contentLoader, UrlResolver urlResolver, IDatabaseMode databaseMode, IOptionsMonitor <CookieAuthenticationOptions> optionMonitor) { _contentLoader = contentLoader; _urlResolver = urlResolver; _databaseMode = databaseMode; _cookieAuthenticationOptions = optionMonitor.Get(IdentityConstants.ApplicationScheme); }
public CatalogEntryViewModelFactory( IPromotionService promotionService, IContentLoader contentLoader, IPriceService priceService, ICurrentMarket currentMarket, CurrencyService currencyservice, IRelationRepository relationRepository, UrlResolver urlResolver, FilterPublished filterPublished, LanguageResolver languageResolver, IStoreService storeService, IProductService productService, IQuickOrderService quickOrderService, IInventoryService inventoryService, IWarehouseRepository warehouseRepository, IDatabaseMode databaseMode) { _promotionService = promotionService; _contentLoader = contentLoader; _priceService = priceService; _currentMarket = currentMarket; _currencyservice = currencyservice; _relationRepository = relationRepository; _urlResolver = urlResolver; _filterPublished = filterPublished; _languageResolver = languageResolver; _storeService = storeService; _productService = productService; _quickOrderService = quickOrderService; _inventoryService = inventoryService; _warehouseRepository = warehouseRepository; _databaseMode = databaseMode; }
public CheckoutController( ICurrencyService currencyService, ControllerExceptionHandler controllerExceptionHandler, IOrderRepository orderRepository, CheckoutViewModelFactory checkoutViewModelFactory, ICartService cartService, OrderSummaryViewModelFactory orderSummaryViewModelFactory, IRecommendationService recommendationService, CheckoutService checkoutService, OrderValidationService orderValidationService, IDatabaseMode databaseMode, ISwedbankPayCheckoutService swedbankPayCheckoutService, IContentLoader contentLoader, IMarketService marketService, IAddressBookService addressBookService) { _currencyService = currencyService; _controllerExceptionHandler = controllerExceptionHandler; _orderRepository = orderRepository; _checkoutViewModelFactory = checkoutViewModelFactory; _cartService = cartService; _orderSummaryViewModelFactory = orderSummaryViewModelFactory; _recommendationService = recommendationService; _checkoutService = checkoutService; _orderValidationService = orderValidationService; _databaseMode = databaseMode; _swedbankPayCheckoutService = swedbankPayCheckoutService; _contentLoader = contentLoader; _marketService = marketService; _addressBookService = addressBookService; }
public DemoHeaderViewModelFactory(LocalizationService localizationService, ICustomerService customerService, CartViewModelFactory cartViewModelFactory, IUrlResolver urlResolver, IMarketService marketService, ICurrentMarket currentMarket, IBookmarksService bookmarksService, ICartService cartService, CustomerContext customerContext, IContentCacheKeyCreator contentCacheKeyCreator, IContentLoader contentLoader, CmsHeaderViewModelFactory cmsHeaderViewModelFactory, IDatabaseMode databaseMode) : base(localizationService, customerService, cartViewModelFactory, urlResolver, marketService, currentMarket, bookmarksService, cartService, contentCacheKeyCreator, contentLoader, databaseMode) { _customerService = customerService; _customerContext = customerContext; _cmsHeaderViewModelFactory = cmsHeaderViewModelFactory; }
public CheckoutService( IAddressBookService addressBookService, IOrderGroupFactory orderGroupFactory, IOrderGroupCalculator orderGroupCalculator, IPaymentProcessor paymentProcessor, IOrderRepository orderRepository, IContentRepository contentRepository, CustomerContextFacade customerContext, LocalizationService localizationService, IMailService mailService, ICartService cartService, IDatabaseMode databaseMode) { _addressBookService = addressBookService; _orderGroupFactory = orderGroupFactory; _orderGroupCalculator = orderGroupCalculator; _paymentProcessor = paymentProcessor; _orderRepository = orderRepository; _contentRepository = contentRepository; _customerContext = customerContext; _localizationService = localizationService; _mailService = mailService; _cartService = cartService; _databaseMode = databaseMode; AuthenticatedPurchaseValidation = new AuthenticatedPurchaseValidation(_localizationService); AnonymousPurchaseValidation = new AnonymousPurchaseValidation(_localizationService); CheckoutAddressHandling = new CheckoutAddressHandling(_addressBookService, databaseMode); }
public CheckoutController( ICurrencyService currencyService, ControllerExceptionHandler controllerExceptionHandler, IOrderRepository orderRepository, CheckoutViewModelFactory checkoutViewModelFactory, ICartService cartService, OrderSummaryViewModelFactory orderSummaryViewModelFactory, IRecommendationService recommendationService, CheckoutService checkoutService, OrderValidationService orderValidationService, IDatabaseMode databaseMode, SecureAcceptanceSecurity secureAcceptanceSecurity, IAddressBookService addressBookService) { _currencyService = currencyService; _controllerExceptionHandler = controllerExceptionHandler; _orderRepository = orderRepository; _checkoutViewModelFactory = checkoutViewModelFactory; _cartService = cartService; _orderSummaryViewModelFactory = orderSummaryViewModelFactory; _recommendationService = recommendationService; _checkoutService = checkoutService; _orderValidationService = orderValidationService; _databaseMode = databaseMode; _secureAcceptanceSecurity = secureAcceptanceSecurity; _addressBookService = addressBookService; }
public CmsHeaderViewModelFactory(IUrlResolver urlResolver, IContentCacheKeyCreator contentCacheKeyCreator, IContentLoader contentLoader, LocalizationService localizationService, IDatabaseMode databaseMode) { _urlResolver = urlResolver; _contentCacheKeyCreator = contentCacheKeyCreator; _contentLoader = contentLoader; _localizationService = localizationService; _databaseMode = databaseMode; }
public HeaderViewModelFactory(LocalizationService localizationService, IUrlResolver urlResolver, IContentCacheKeyCreator contentCacheKeyCreator, IContentLoader contentLoader, IDatabaseMode databaseMode, ISettingsService settingsService, IContentVersionRepository contentVersionRepository) { _localizationService = localizationService; _urlResolver = urlResolver; _contentCacheKeyCreator = contentCacheKeyCreator; _contentLoader = contentLoader; _databaseMode = databaseMode; _settingsService = settingsService; _contentVersionRepository = contentVersionRepository; }
public CommerceHeaderViewModelFactory(LocalizationService localizationService, ICustomerService customerService, CartViewModelFactory cartViewModelFactory, IUrlResolver urlResolver, IMarketService marketService, ICurrentMarket currentMarket, IBookmarksService bookmarksService, ICartService cartService, IContentCacheKeyCreator contentCacheKeyCreator, IContentLoader contentLoader, IDatabaseMode databaseMode) { _localizationService = localizationService; _customerService = customerService; _cartViewModelFactory = cartViewModelFactory; _urlResolver = urlResolver; _marketService = marketService; _currentMarket = currentMarket; _bookmarksService = bookmarksService; _cartService = cartService; _contentCacheKeyCreator = contentCacheKeyCreator; _contentLoader = contentLoader; _databaseMode = databaseMode; }
public HeaderViewModelFactory(LocalizationService localizationService, ICustomerService customerService, CartViewModelFactory cartViewModelFactory, IUrlResolver urlResolver, IBookmarksService bookmarksService, ICartService cartService, CustomerContext customerContext, IContentCacheKeyCreator contentCacheKeyCreator, IContentLoader contentLoader, IDatabaseMode databaseMode, ISettingsService settingsService) { _localizationService = localizationService; _customerService = customerService; _cartViewModelFactory = cartViewModelFactory; _urlResolver = urlResolver; _bookmarksService = bookmarksService; _cartService = cartService; _contentCacheKeyCreator = contentCacheKeyCreator; _contentLoader = contentLoader; _databaseMode = databaseMode; _customerContext = customerContext; _settingsService = settingsService; }
public PageViewContextFactory(IContentLoader contentLoader, UrlResolver urlResolver, IDatabaseMode databaseMode) { _contentLoader = contentLoader; _urlResolver = urlResolver; _databaseMode = databaseMode; }
public void SetDatabaseMode(IDatabaseMode dbMode) { DBMode = new Injected<IDatabaseMode>(dbMode); }
public CheckoutAddressHandling(IAddressBookService addressBookService, IDatabaseMode databaseMode) { _addressBookService = addressBookService; _databaseMode = databaseMode; }
public void SetDatabaseMode(IDatabaseMode dbMode) { DBMode = new Injected <IDatabaseMode>(dbMode); }