コード例 #1
0
        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;
        }
コード例 #2
0
 public OrdersViewModelRepository(OrderManager orderManager, AccountManager accountManager, StorefrontContext storefrontContext, OrderViewModelRepository orderViewModelRepository)
 {
     OrderManager             = orderManager;
     AccountManager           = accountManager;
     StorefrontContext        = storefrontContext;
     OrderViewModelRepository = orderViewModelRepository;
 }
コード例 #3
0
 public AccountManager(CartManager cartManager, CustomerServiceProvider customerServiceProvider, ContactFactory contactFactory, MailManager mailManager, StorefrontContext storefrontContext)
 {
     CustomerServiceProvider = customerServiceProvider;
     ContactFactory          = contactFactory;
     MailManager             = mailManager;
     StorefrontContext       = storefrontContext;
     this.CartManager        = cartManager;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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;
 }
コード例 #6
0
 public SetCommerceUser(CommerceUserContext commerceUserContext, AccountManager accountManager, StorefrontContext storefrontContext)
 {
     CommerceUserContext = commerceUserContext;
     AccountManager      = accountManager;
     StorefrontContext   = storefrontContext;
 }
コード例 #7
0
 public CartManager(InventoryManager inventoryManager, CommerceCartServiceProvider cartServiceProvider, CartCacheHelper cartCacheHelper, StorefrontContext storefrontContext)
 {
     InventoryManager    = inventoryManager;
     CartServiceProvider = cartServiceProvider;
     CartCacheHelper     = cartCacheHelper;
     StorefrontContext   = storefrontContext;
 }
コード例 #8
0
        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;
        }
コード例 #9
0
 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;
 }