public CustomerServiceImpl(Func <WorkContext> workContextFactory, ICustomerManagementModuleApi customerApi, IOrderModuleApi orderApi, IQuoteModuleApi quoteApi, ICacheManager <object> cacheManager) { _workContextFactory = workContextFactory; _customerApi = customerApi; _orderApi = orderApi; _quoteApi = quoteApi; _cacheManager = cacheManager; }
public WorkContextOwinMiddleware(OwinMiddleware next, UnityContainer container) : base(next) { _storeApi = container.Resolve <IStoreModuleApi>(); _platformApi = container.Resolve <IVirtoCommercePlatformApi>(); _customerApi = container.Resolve <ICustomerManagementModuleApi>(); _cartBuilder = container.Resolve <ICartBuilder>(); _cmsApi = container.Resolve <ICMSContentModuleApi>(); _pricingModuleApi = container.Resolve <IPricingModuleApi>(); _cacheManager = container.Resolve <ICacheManager <object> >(); _container = container; }
public WorkContextOwinMiddleware(OwinMiddleware next, UnityContainer container) : base(next) { _storeApi = container.Resolve<IStoreModuleApi>(); _platformApi = container.Resolve<IVirtoCommercePlatformApi>(); _customerApi = container.Resolve<ICustomerManagementModuleApi>(); _cartBuilder = container.Resolve<ICartBuilder>(); _cmsApi = container.Resolve<ICMSContentModuleApi>(); _pricingModuleApi = container.Resolve<IPricingModuleApi>(); _cacheManager = container.Resolve<ICacheManager<object>>(); _container = container; }
public AccountController(WorkContext workContext, IStorefrontUrlBuilder urlBuilder, ICommerceCoreModuleApi commerceCoreApi, ICustomerManagementModuleApi customerApi, IAuthenticationManager authenticationManager, IVirtoCommercePlatformApi platformApi, IOrderModuleApi orderApi, ICartBuilder cartBuilder) : base(workContext, urlBuilder) { _commerceCoreApi = commerceCoreApi; _customerApi = customerApi; _authenticationManager = authenticationManager; _platformApi = platformApi; _orderApi = orderApi; _cartBuilder = cartBuilder; }
public CartController(WorkContext workContext, IShoppingCartModuleApi cartApi, IOrderModuleApi orderApi, IStorefrontUrlBuilder urlBuilder, ICartBuilder cartBuilder, ICatalogSearchService catalogService, IMarketingModuleApi marketingApi, ICommerceCoreModuleApi commerceApi, ICustomerManagementModuleApi customerApi) : base(workContext, urlBuilder) { _cartBuilder = cartBuilder; _catalogService = catalogService; _cartApi = cartApi; _orderApi = orderApi; _marketingApi = marketingApi; _commerceApi = commerceApi; _customerApi = customerApi; }
public CartController(WorkContext workContext, IOrderModuleApi orderApi, IStorefrontUrlBuilder urlBuilder, ICartBuilder cartBuilder, ICatalogSearchService catalogService, IMarketingModuleApi marketingApi, ICommerceCoreModuleApi commerceApi, ICustomerManagementModuleApi customerApi, ICartValidator cartValidator, IEventPublisher<OrderPlacedEvent> orderPlacedEventPublisher) : base(workContext, urlBuilder) { _cartBuilder = cartBuilder; _catalogService = catalogService; _orderApi = orderApi; _marketingApi = marketingApi; _commerceApi = commerceApi; _customerApi = customerApi; _cartValidator = cartValidator; _orderPlacedEventPublisher = orderPlacedEventPublisher; }
public CartController(WorkContext workContext, IOrderModuleApi orderApi, IStorefrontUrlBuilder urlBuilder, ICartBuilder cartBuilder, ICatalogSearchService catalogService, IMarketingModuleApi marketingApi, ICommerceCoreModuleApi commerceApi, ICustomerManagementModuleApi customerApi, ICartValidator cartValidator, IEventPublisher <OrderPlacedEvent> orderPlacedEventPublisher) : base(workContext, urlBuilder) { _cartBuilder = cartBuilder; _catalogService = catalogService; _orderApi = orderApi; _marketingApi = marketingApi; _commerceApi = commerceApi; _customerApi = customerApi; _cartValidator = cartValidator; _orderPlacedEventPublisher = orderPlacedEventPublisher; }