コード例 #1
0
 public VPAPluginController(IProductService productService, VPAPluginSettings settings,
                            ISettingService settingService)
 {
     _productService = productService;
     _settings       = settings;
     _settingService = settingService;
 }
コード例 #2
0
 public ProductServiceOver(IRepository <Grand.Plugin.Misc.VPAPlugin.Domains.Product> repo,
                           ICacheManager cacheManager,
                           IRepository <Product> productRepository,
                           IRepository <ProductReview> productReviewRepository,
                           IRepository <UrlRecord> urlRecordRepository,
                           IRepository <Customer> customerRepository,
                           IRepository <CustomerRoleProduct> customerRoleProductRepository,
                           IRepository <CustomerTagProduct> customerTagProductRepository,
                           IRepository <ProductDeleted> productDeletedRepository,
                           IRepository <CustomerProduct> customerProductRepository,
                           IRepository <ProductTag> productTagRepository,
                           IProductAttributeService productAttributeService,
                           IProductAttributeParser productAttributeParser,
                           IWorkContext workContext,
                           IMediator mediator,
                           IAclService aclService,
                           IStoreMappingService storeMappingService,
                           CatalogSettings catalogSettings,
                           IRepository <Vendor> vendorService,
                           IStoreContext storeContext,
                           IForumService forumService,
                           VPAPluginSettings settings) : base(cacheManager, productRepository, productReviewRepository, urlRecordRepository, customerRepository,
                                                              customerRoleProductRepository, customerTagProductRepository, productDeletedRepository, customerProductRepository, productTagRepository,
                                                              productAttributeService, productAttributeParser, workContext, mediator, aclService, storeMappingService, catalogSettings)
 {
     _repo                = repo;
     _aclService          = aclService;
     _storeMappingService = storeMappingService;
     _vendorService       = vendorService;
     _customerService     = customerRepository;
     _storeContext        = storeContext;
     _workContext         = workContext;
     _forumService        = forumService;
     _settings            = settings;
 }