コード例 #1
0
 public PurchaseController(IPurchaseService purchaseService,
                           IProductSkuService productSkuService,
                           IMapper mapper)
 {
     _purchaseService   = purchaseService;
     _productSkuService = productSkuService;
     _mapper            = mapper;
 }
コード例 #2
0
ファイル: Edit.cshtml.cs プロジェクト: BOBO41/Ku.Core.CMS
 public EditModel(IProductService service, IProductSkuService skuService, ICacheService cacheService
                  , IProductCategoryService productCategoryService)
 {
     this._service                = service;
     this._skuService             = skuService;
     this._cacheService           = cacheService;
     this._productCategoryService = productCategoryService;
 }
コード例 #3
0
ファイル: ProductService.cs プロジェクト: alin-rautoiu/Cart42
 public ProductService(DataContext db, IProductFinder productFinder, ICategoryService categoryService,
     IProductSkuService productSkuService, ICacheService cacheService)
 {
     this.db = db;
     this.productFinder = productFinder;
     this.categoryService = categoryService;
     this.productSkuService = productSkuService;
     this.cacheService = cacheService;
 }
コード例 #4
0
ファイル: ProductService.cs プロジェクト: tuaasn/Cart42
 public ProductService(DataContext db, IProductFinder productFinder, ICategoryService categoryService,
                       IProductSkuService productSkuService, ICacheService cacheService)
 {
     this.db                = db;
     this.productFinder     = productFinder;
     this.categoryService   = categoryService;
     this.productSkuService = productSkuService;
     this.cacheService      = cacheService;
 }
コード例 #5
0
 public ProductController(IProductService service, IProductSkuService skuService, ICacheService cacheService
                          , IProductCategoryService productCategoryService
                          )
 {
     this._service                = service;
     this._skuService             = skuService;
     this._cacheService           = cacheService;
     this._productCategoryService = productCategoryService;
 }
コード例 #6
0
 public ShoppingCartController(DataContext db, ICurrentUser currentUser, ISettingService settings,
                               ITaxZoneService taxZoneService, ICustomerService customerService, ITaxRateService taxRateService,
                               IShippingService shippingService, IProductSkuService productSkuService, IProductService productService) : base(db, currentUser)
 {
     this.settings          = settings;
     this.taxZoneService    = taxZoneService;
     this.customerService   = customerService;
     this.taxRateService    = taxRateService;
     this.shippingService   = shippingService;
     this.productSkuService = productSkuService;
     this.productService    = productService;
 }
コード例 #7
0
 public ShoppingCartController(DataContext db, ICurrentUser currentUser, ISettingService settings,
     ITaxZoneService taxZoneService, ICustomerService customerService, ITaxRateService taxRateService,
     IShippingService shippingService, IProductSkuService productSkuService, IProductService productService) : base(db, currentUser)
 {
     this.settings = settings;
     this.taxZoneService = taxZoneService;
     this.customerService = customerService;
     this.taxRateService = taxRateService;
     this.shippingService = shippingService;
     this.productSkuService = productSkuService;
     this.productService = productService;
 }
コード例 #8
0
ファイル: Detail.cshtml.cs プロジェクト: BOBO41/Ku.Core.CMS
 public DetailModel(IProductService service, IProductSkuService skuService)
 {
     this._service = service;
     _skuService   = skuService;
 }
コード例 #9
0
ファイル: Edit.cshtml.cs プロジェクト: zdlian/Ku.Core.CMS
 public EditModel(IProductSkuService service, ICacheProvider cacheService)
 {
     this._service      = service;
     this._cacheService = cacheService;
 }
コード例 #10
0
 public ProductSkuController(IProductSkuService productSkuService,
                             IMapper mapper)
 {
     _productSkuService = productSkuService;
     _mapper            = mapper;
 }