public WishListController( IContentLoader contentLoader, ICartService cartService, IOrderRepository orderRepository, ICommerceTrackingService recommendationService, CartViewModelFactory cartViewModelFactory, IQuickOrderService quickOrderService, ReferenceConverter referenceConverter, ICustomerService customerService, IUrlResolver urlResolver, IRelationRepository relationRepository, LanguageResolver languageResolver, ICurrentMarket currentMarket, FilterPublished filterPublished, ISettingsService settingsService) { _contentLoader = contentLoader; _cartService = cartService; _orderRepository = orderRepository; _trackingService = recommendationService; _cartViewModelFactory = cartViewModelFactory; _quickOrderService = quickOrderService; _referenceConverter = referenceConverter; _customerService = customerService; _urlResolver = urlResolver; _relationRepository = relationRepository; _languageResolver = languageResolver; _currentMarket = currentMarket; _filterPublished = filterPublished; _settingsService = settingsService; }
public EndVisitProcessorTests() { this.trackingService = Substitute.For <ICommerceTrackingService>(); this.sessionService = Substitute.For <ISessionService>(); this.endVisitProcessor = new EndVisitProcessor(this.trackingService, this.sessionService); }
public DefaultCartController( ICartService cartService, IOrderRepository orderRepository, ICommerceTrackingService recommendationService, CartViewModelFactory cartViewModelFactory, IContentLoader contentLoader, IContentRouteHelper contentRouteHelper, ReferenceConverter referenceConverter, IQuickOrderService quickOrderService, ICustomerService customerService, ShipmentViewModelFactory shipmentViewModelFactory, CheckoutService checkoutService, IOrderGroupCalculator orderGroupCalculator, CartItemViewModelFactory cartItemViewModelFactory, IProductService productService, LanguageResolver languageResolver) { _cartService = cartService; _orderRepository = orderRepository; _recommendationService = recommendationService; _cartViewModelFactory = cartViewModelFactory; _contentLoader = contentLoader; _contentRouteHelper = contentRouteHelper; _referenceConverter = referenceConverter; _quickOrderService = quickOrderService; _customerService = customerService; _shipmentViewModelFactory = shipmentViewModelFactory; _checkoutService = checkoutService; _orderGroupCalculator = orderGroupCalculator; _cartItemViewModelFactory = cartItemViewModelFactory; _productService = productService; _languageResolver = languageResolver; }
public CheckoutController( IOrderRepository orderRepository, CheckoutViewModelFactory checkoutViewModelFactory, ICartService cartService, OrderSummaryViewModelFactory orderSummaryViewModelFactory, ICommerceTrackingService recommendationService, CheckoutService checkoutService, UrlHelper urlHelper, ApplicationSignInManager <SiteUser> applicationSignInManager, LocalizationService localizationService, IAddressBookService addressBookService, MultiShipmentViewModelFactory multiShipmentViewModelFactory, IOrderGroupFactory orderGroupFactory, IContentLoader contentLoader, UrlResolver urlResolver, ICustomerService customerContext, IOrganizationService organizationService) { _orderRepository = orderRepository; _checkoutViewModelFactory = checkoutViewModelFactory; _cartService = cartService; _orderSummaryViewModelFactory = orderSummaryViewModelFactory; _recommendationService = recommendationService; _checkoutService = checkoutService; _urlHelper = urlHelper; _applicationSignInManager = applicationSignInManager; _localizationService = localizationService; _addressBookService = addressBookService; _multiShipmentViewModelFactory = multiShipmentViewModelFactory; _orderGroupFactory = orderGroupFactory; _contentLoader = contentLoader; _urlResolver = urlResolver; _customerContext = customerContext; _organizationService = organizationService; }
public IdentifyCommerceUserProcessorTests() { this.logService = Substitute.For <ILogService <CommonLog> >(); this.commerceTrackingService = Substitute.For <ICommerceTrackingService>(); this.fixture = new Fixture(); this.processor = new IdentifyCommerceUserProcessor(this.commerceTrackingService, this.logService); }
public EndVisitProcessor(ICommerceTrackingService trackingService, ISessionService sessionService) { Assert.ArgumentNotNull(trackingService, nameof(trackingService)); Assert.ArgumentNotNull(sessionService, nameof(sessionService)); this.trackingService = trackingService; this.sessionService = sessionService; }
public IdentifyCommerceUserProcessor( ICommerceTrackingService commerceTrackingService, ILogService <CommonLog> logService) : base(logService) { Assert.ArgumentNotNull(commerceTrackingService, nameof(commerceTrackingService)); this.commerceTrackingService = commerceTrackingService; }
public VariationController(CatalogEntryViewModelFactory viewModelFactory, IReviewService reviewService, IReviewActivityService reviewActivityService, ICommerceTrackingService recommendationService, ReferenceConverter referenceConverter, IContentLoader contentLoader, UrlResolver urlResolver, ILoyaltyService loyaltyService) : base(referenceConverter, contentLoader, urlResolver, reviewService, reviewActivityService, recommendationService, loyaltyService) { _viewModelFactory = viewModelFactory; }
public AuthenticationController( ICustomerProvider customerProvider, IVisitorContext visitorContext, ICartRepository cartRepository, ICommerceTrackingService commerceTrackingService) { this.customerProvider = customerProvider; this.visitorContext = visitorContext; this.cartRepository = cartRepository; this.commerceTrackingService = commerceTrackingService; }
public WidgetBlockController(ICommerceTrackingService commerceTrackingService, ReferenceConverter referenceConverter, IRequiredClientResourceList requiredClientResource, ICartService cartService, ConfirmationService confirmationService) { _trackingService = commerceTrackingService; _referenceConverter = referenceConverter; _requiredClientResource = requiredClientResource; _cartService = cartService; _confirmationService = confirmationService; }
public BundleController(IsInEditModeAccessor isInEditModeAccessor, CatalogEntryViewModelFactory viewModelFactory, IReviewService reviewService, IReviewActivityService reviewActivityService, ICommerceTrackingService recommendationService, ReferenceConverter referenceConverter, IContentLoader contentLoader, UrlResolver urlResolver, ILoyaltyService loyaltyService) : base(referenceConverter, contentLoader, urlResolver, reviewService, reviewActivityService, recommendationService, loyaltyService) { _isInEditMode = isInEditModeAccessor(); _viewModelFactory = viewModelFactory; }
public CatalogContentControllerBase(ReferenceConverter referenceConverter, IContentLoader contentLoader, UrlResolver urlResolver, IReviewService reviewService, IReviewActivityService reviewActivityService, ICommerceTrackingService recommendationService, ILoyaltyService loyaltyService) { _referenceConverter = referenceConverter; _contentLoader = contentLoader; _urlResolver = urlResolver; _reviewService = reviewService; _reviewActivityService = reviewActivityService; _recommendationService = recommendationService; _loyaltyService = loyaltyService; }
public SearchController( ISearchViewModelFactory viewModelFactory, ICommerceSearchService searchService, ICommerceTrackingService recommendationService, ReferenceConverter referenceConverter, HttpContextBase httpContextBase, IContentLoader contentLoader, ICmsTrackingService cmsTrackingService, ICmsSearchService cmsSearchService) { _viewModelFactory = viewModelFactory; _commerceSearchService = searchService; _recommendationService = recommendationService; _referenceConverter = referenceConverter; _cmsTrackingService = cmsTrackingService; _httpContextBase = httpContextBase; _contentLoader = contentLoader; _cmsSearchService = cmsSearchService; }
public CatalogContentControllerBase(ReferenceConverter referenceConverter, IContentLoader contentLoader, UrlResolver urlResolver, IReviewService reviewService, IReviewActivityService reviewActivityService, ICommerceTrackingService recommendationService, ILoyaltyService loyaltyService) { var mode = HttpContext.RequestServices.GetRequiredService <IContextModeResolver>().CurrentMode; _isInEditMode = mode == ContextMode.Edit || mode == ContextMode.Preview; _referenceConverter = referenceConverter; _contentLoader = contentLoader; _urlResolver = urlResolver; _reviewService = reviewService; _reviewActivityService = reviewActivityService; _recommendationService = recommendationService; _loyaltyService = loyaltyService; }
public RecommendationsController(ICommerceTrackingService recommendationService) => _recommendationService = recommendationService;