Example #1
0
 public ProductDetailsBottomViewComponent(
     IProductService productService,
     ICcService ccService)
 {
     _productService = productService;
     _ccService      = ccService;
 }
Example #2
0
 public OrderDetailsViewComponent(
     IOrderService orderService,
     ICcService ccService)
 {
     _orderService = orderService;
     _ccService    = ccService;
 }
 public GBSOrderController(
     Factories.IOrderModelFactory orderModelFactory,
     IOrderService orderService,
     ICcService ccService,
     CcSettings ccSettings,
     GBSOrderSettings gbsOrderSettings,
     ILocalizationService localizationService,
     ISettingService settingService,
     IStoreService storeService,
     IWorkContext workContext,
     ILogger logger,
     IStoreContext storeContext,
     IPluginFinder pluginFinder,
     IHttpContextAccessor httpContextAccessor,
     IGBSOrderService gbsOrderService)
 {
     this._orderModelFactory   = orderModelFactory;
     this._orderService        = orderService;
     this._ccService           = ccService;
     this._ccSettings          = ccSettings;
     this._gbsOrderSettings    = gbsOrderSettings;
     this._localizationService = localizationService;
     this._settingService      = settingService;
     this._storeService        = storeService;
     this._workContext         = workContext;
     this._logger              = logger;
     this._storeContext        = storeContext;
     this._pluginFinder        = pluginFinder;
     this._httpContextAccessor = httpContextAccessor;
     this._gbsOrderService     = gbsOrderService; // EngineContext.Current.Resolve<GBSOrderService>(); //(GBSOrderService)System.Web.Mvc.DependencyResolver.Current.GetServices(typeof(GBSOrderService));
 }
 public CcProductController(ISettingService settingService,
                            IProductAttributeService productAttributeService,
                            ISpecificationAttributeService specificationAttributeService,
                            ICcService ccService,
                            IPictureService pictureService,
                            IProductService productService,
                            ILocalizationService localizationService,
                            IWorkContext workContext,
                            ILogger logger,
                            IPermissionService permissionService,
                            ILanguageService languageService,
                            ILocalizedEntityService localizedEntityService)
 {
     _settingService                = settingService;
     _productAttributeService       = productAttributeService;
     _specificationAttributeService = specificationAttributeService;
     _ccService           = ccService;
     _pictureService      = pictureService;
     _productService      = productService;
     _localizationService = localizationService;
     _workContext         = workContext;
     _logger                 = logger;
     _permissionService      = permissionService;
     _languageService        = languageService;
     _localizedEntityService = localizedEntityService;
 }
 public CcWidgetController(IProductService productService,
                           IOrderService orderService,
                           ICcService ccService,
                           IShoppingCartService cartService,
                           IWorkContext workContext,
                           IStoreContext storeContext,
                           IProductAttributeService productAttributeService,
                           ISettingService settingService,
                           IPictureService pictureService,
                           IProductAttributeParser productAttributeParser,
                           IShoppingCartService shoppingCartService,
                           IWebHelper webHelper,
                           ISpecificationAttributeService specificationAttributeService,
                           IDownloadService downloadService,
                           ILocalizationService localizationService)
 {
     _productService                = productService;
     _orderService                  = orderService;
     _ccService                     = ccService;
     _cartService                   = cartService;
     _workContext                   = workContext;
     _storeContext                  = storeContext;
     _productAttributeService       = productAttributeService;
     _settingService                = settingService;
     _pictureService                = pictureService;
     _productAttributeParser        = productAttributeParser;
     _shoppingCartService           = shoppingCartService;
     _customersCanvasSettings       = settingService.LoadSetting <CcSettings>();
     _webHelper                     = webHelper;
     _specificationAttributeService = specificationAttributeService;
     _shoppingCartController        = EngineContext.Current.Resolve <ShoppingCartController>();
     _downloadService               = downloadService;
     _localizationService           = localizationService;
 }
Example #6
0
 public AdminTabConsumer(
     ISettingService settingService,
     ISpecificationAttributeService specificationAttributeService,
     ICcService ccService,
     IOrderService orderService)
 {
     _settingService = settingService;
     _specificationAttributeService = specificationAttributeService;
     _ccService    = ccService;
     _orderService = orderService;
 }
Example #7
0
 public CcConfigController(
     IStoreService storeService,
     IWorkContext workContext,
     ISettingService settingService,
     ILocalizationService localizationService,
     ICcService ccService,
     ILogger logger)
 {
     _workContext         = workContext;
     _settingService      = settingService;
     _localizationService = localizationService;
     _storeService        = storeService;
     _ccService           = ccService;
     _logger = logger;
 }
Example #8
0
 public OrderSummaryContentViewComponent(
     ISettingService settingService,
     IWorkContext workContext,
     IStoreContext storeContext,
     IProductAttributeParser productAttributeParser,
     IWebHelper webHelper,
     ICcService ccService)
 {
     _settingService         = settingService;
     _workContext            = workContext;
     _storeContext           = storeContext;
     _productAttributeParser = productAttributeParser;
     _webHelper = webHelper;
     _ccService = ccService;
 }
 public ProductPageEditorInitViewComponent(
     IProductService productService,
     ICcService ccService,
     IWorkContext workContext,
     ISettingService settingService,
     ISpecificationAttributeService specificationAttributeService,
     IProductModelFactory productModelFactory,
     IStoreContext storeContext)
 {
     _productService                = productService;
     _ccService                     = ccService;
     _workContext                   = workContext;
     _settingService                = settingService;
     _customersCanvasSettings       = settingService.LoadSetting <CcSettings>();
     _specificationAttributeService = specificationAttributeService;
     _productModelFactory           = productModelFactory;
     _storeContext                  = storeContext;
 }
Example #10
0
 public CcOrderController(
     IOrderService orderService,
     ICcService ccService,
     ISettingService settingService,
     IProductService productService,
     ILocalizationService localizationService,
     ILogger logger
     )
 {
     _ccService           = ccService;
     _orderService        = orderService;
     _settingService      = settingService;
     _productService      = productService;
     _localizationService = localizationService;
     _logger = logger;
     // ignore cc ssl problems
     ServicePointManager.ServerCertificateValidationCallback += (send, certificate, chain, sslPolicyErrors) => { return(true); };
 }
Example #11
0
 public CcProductAttributeFormatter(IWorkContext workContext,
                                    IProductAttributeService productAttributeService,
                                    IProductAttributeParser productAttributeParser,
                                    ICurrencyService currencyService,
                                    ILocalizationService localizationService,
                                    ITaxService taxService,
                                    IPriceFormatter priceFormatter,
                                    IDownloadService downloadService,
                                    IWebHelper webHelper,
                                    IPriceCalculationService priceCalculationService,
                                    ShoppingCartSettings shoppingCartSettings,
                                    ICcService ccService)
     : base(workContext,
            productAttributeService,
            productAttributeParser,
            currencyService,
            localizationService,
            taxService,
            priceFormatter,
            downloadService,
            webHelper,
            priceCalculationService,
            shoppingCartSettings)
 {
     this._workContext             = workContext;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser  = productAttributeParser;
     this._currencyService         = currencyService;
     this._localizationService     = localizationService;
     this._taxService              = taxService;
     this._priceFormatter          = priceFormatter;
     this._downloadService         = downloadService;
     this._webHelper               = webHelper;
     this._priceCalculationService = priceCalculationService;
     this._shoppingCartSettings    = shoppingCartSettings;
     this._ccService               = ccService;
 }
Example #12
0
 public ProductEditorPageViewComponent(IProductService productService, ICcService ccService)
 {
     _productService = productService;
     _ccService      = ccService;
 }
Example #13
0
 public ProductDetailsAddInfoViewComponent(IProductService productService, ICcService ccService)
 {
     _productService = productService;
     _ccService      = ccService;
 }