public InventoryManager(InventoryServiceProvider inventoryServiceProvider, ContactFactory contactFactory, ICommerceSearchManager commerceSearchManager, StorefrontContext storefrontContext) { Assert.ArgumentNotNull(inventoryServiceProvider, nameof(inventoryServiceProvider)); Assert.ArgumentNotNull(contactFactory, nameof(contactFactory)); InventoryServiceProvider = inventoryServiceProvider; ContactFactory = contactFactory; _obecContext = (CommerceContextBase)Factory.CreateObject("commerceContext", true); CommerceSearchManager = commerceSearchManager; StorefrontContext = storefrontContext; }
public OrdersViewModelRepository(OrderManager orderManager, AccountManager accountManager, StorefrontContext storefrontContext, OrderViewModelRepository orderViewModelRepository) { OrderManager = orderManager; AccountManager = accountManager; StorefrontContext = storefrontContext; OrderViewModelRepository = orderViewModelRepository; }
public AccountManager(CartManager cartManager, CustomerServiceProvider customerServiceProvider, ContactFactory contactFactory, MailManager mailManager, StorefrontContext storefrontContext) { CustomerServiceProvider = customerServiceProvider; ContactFactory = contactFactory; MailManager = mailManager; StorefrontContext = storefrontContext; this.CartManager = cartManager; }
public CatalogManager(CatalogServiceProvider catalogServiceProvider, GlobalizationServiceProvider globalizationServiceProvider, PricingManager pricingManager, InventoryManager inventoryManager, CatalogItemContext catalogItemContext, ICommerceSearchManager commerceSearchManager, StorefrontContext storefrontContext) { CatalogServiceProvider = catalogServiceProvider; GlobalizationServiceProvider = globalizationServiceProvider; PricingManager = pricingManager; InventoryManager = inventoryManager; CatalogItemContext = catalogItemContext; CommerceSearchManager = commerceSearchManager; StorefrontContext = storefrontContext; }
public CheckoutController(CartManager cartManager, OrderManager orderManager, AccountManager accountManager, PaymentManager paymentManager, ShippingManager shippingManager, CommerceUserContext commerceUserContext, CurrencyManager currencyManager, CountryManager countryManager, StorefrontContext storefrontContext) { CartManager = cartManager; OrderManager = orderManager; AccountManager = accountManager; PaymentManager = paymentManager; ShippingManager = shippingManager; CommerceUserContext = commerceUserContext; CurrencyManager = currencyManager; CountryManager = countryManager; StorefrontContext = storefrontContext; }
public SetCommerceUser(CommerceUserContext commerceUserContext, AccountManager accountManager, StorefrontContext storefrontContext) { CommerceUserContext = commerceUserContext; AccountManager = accountManager; StorefrontContext = storefrontContext; }
public CartManager(InventoryManager inventoryManager, CommerceCartServiceProvider cartServiceProvider, CartCacheHelper cartCacheHelper, StorefrontContext storefrontContext) { InventoryManager = inventoryManager; CartServiceProvider = cartServiceProvider; CartCacheHelper = cartCacheHelper; StorefrontContext = storefrontContext; }
public OrderManager(OrderServiceProvider orderServiceProvider, CartManager cartManager, CartCacheHelper cartCacheHelper, MailManager mailManager, StorefrontContext storefrontContext, AccountManager accountManager) { Assert.ArgumentNotNull(orderServiceProvider, nameof(orderServiceProvider)); Assert.ArgumentNotNull(cartManager, nameof(cartManager)); OrderServiceProvider = orderServiceProvider; CartManager = cartManager; CartCacheHelper = cartCacheHelper; MailManager = mailManager; StorefrontContext = storefrontContext; AccountManager = accountManager; }
public CatalogController(InventoryManager inventoryManager, ContactFactory contactFactory, ProductViewModelFactory productViewModelFactory, AccountManager accountManager, CatalogManager catalogManager, GiftCardManager giftCardManager, PricingManager pricingManager, CartManager cartManager, CommerceUserContext commerceUserContext, CatalogItemContext catalogItemContext, CatalogUrlService catalogUrlRepository, StorefrontContext storefrontContext, CategoryViewModelFactory categoryViewModelFactory, GetChildProductsService getChildProductsService) { InventoryManager = inventoryManager; ProductViewModelFactory = productViewModelFactory; CatalogManager = catalogManager; GiftCardManager = giftCardManager; CommerceUserContext = commerceUserContext; CatalogItemContext = catalogItemContext; StorefrontContext = storefrontContext; CategoryViewModelFactory = categoryViewModelFactory; GetChildProductsService = getChildProductsService; }