コード例 #1
0
 public DemoCartService(
     ICartModule cartModule,
     IWorkContextAccessor workContextAccessor,
     IStorefrontMemoryCache memoryCache,
     UserManager <User> userManager,
     IDemoCatalogService demoCatalogService,
     ICatalogService catalogService)
     : base(cartModule, workContextAccessor, memoryCache, userManager)
 {
     _userManager         = userManager;
     _workContextAccessor = workContextAccessor;
     _cartApi             = cartModule;
     _memoryCache         = memoryCache;
     _demoCatalogService  = demoCatalogService;
     _catalogService      = catalogService;
 }
コード例 #2
0
 public DemoCustomerOrderService(IOrderModule orderApi, ICatalogService catalogService, IDemoCatalogService demoCatalogService,
                                 IWorkContextAccessor workContextAccessor) : base(orderApi, workContextAccessor)
 {
     _catalogService     = catalogService;
     _demoCatalogService = demoCatalogService;
 }
コード例 #3
0
 public ApiDemoCatalogController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IDemoCatalogService demoCatalogService) : base(workContextAccessor, urlBuilder)
 {
     _demoCatalogService = demoCatalogService;
 }