public OrderHelper(
            ICommonServices services,
            IDateTimeHelper dateTimeHelper,
            PluginMediator pluginMediator,
            IPriceFormatter priceFormatter,
            ProductUrlHelper productUrlHelper,
            IProductAttributeParser productAttributeParser,
            IOrderService orderService,
            IOrderProcessingService orderProcessingService,
            IPaymentService paymentService,
            ICurrencyService currencyService,
            IQuantityUnitService quantityUnitService,
            IPictureService pictureService,
            IProductService productService)
        {
            _services               = services;
            _dateTimeHelper         = dateTimeHelper;
            _pluginMediator         = pluginMediator;
            _priceFormatter         = priceFormatter;
            _productUrlHelper       = productUrlHelper;
            _productAttributeParser = productAttributeParser;
            _orderService           = orderService;
            _orderProcessingService = orderProcessingService;
            _paymentService         = paymentService;
            _currencyService        = currencyService;
            _quantityUnitService    = quantityUnitService;
            _pictureService         = pictureService;
            _productService         = productService;

            T = NullLocalizer.Instance;
        }
Exemple #2
0
 public OrderHelper(
     ICommonServices services,
     IDateTimeHelper dateTimeHelper,
     PluginMediator pluginMediator,
     IPriceFormatter priceFormatter,
     ProductUrlHelper productUrlHelper,
     IProductAttributeParser productAttributeParser,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     IPaymentService paymentService,
     ICurrencyService currencyService,
     IQuantityUnitService quantityUnitService,
     IMediaService mediaService,
     IProductService productService,
     IEncryptionService encryptionService)
 {
     _services               = services;
     _dateTimeHelper         = dateTimeHelper;
     _pluginMediator         = pluginMediator;
     _priceFormatter         = priceFormatter;
     _productUrlHelper       = productUrlHelper;
     _productAttributeParser = productAttributeParser;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _paymentService         = paymentService;
     _currencyService        = currencyService;
     _quantityUnitService    = quantityUnitService;
     _mediaService           = mediaService;
     _productService         = productService;
     _encryptionService      = encryptionService;
 }
Exemple #3
0
 protected override void Dispose(bool disposing)
 {
     if (_quantityUnitService.IsNull())
     {
         _quantityUnitService = null;
     }
     base.Dispose(disposing);
 }
Exemple #4
0
 public QuantityUnitController(
     IQuantityUnitService quantityUnitService,
     ILocalizedEntityService localizedEntityService,
     ILanguageService languageService)
 {
     _quantityUnitService    = quantityUnitService;
     _localizedEntityService = localizedEntityService;
     _languageService        = languageService;
 }
Exemple #5
0
 public QuantityUnitController(
     IQuantityUnitService quantityUnitService,
     ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     ICommonServices services)
 {
     _quantityUnitService    = quantityUnitService;
     _localizedEntityService = localizedEntityService;
     _languageService        = languageService;
     _services = services;
 }
Exemple #6
0
 public CommonController(ICategoryService categoryService,
                         IQuantityUnitService quantityUnitService,
                         ISupplierService supplierService,
                         ICustomerService customerService,
                         IInventoryService inventoryService)
 {
     this._categoryService     = categoryService;
     this._quantityUnitService = quantityUnitService;
     this._supplierService     = supplierService;
     this._customerService     = customerService;
     this._inventoryService    = inventoryService;
 }
 public QuantityUnitController(IQuantityUnitService quantityUnitService,
                               ISettingService settingService,
                               ILocalizationService localizationService,
                               IPermissionService permissionService,
                               ILocalizedEntityService localizedEntityService,
                               ILanguageService languageService)
 {
     this._quantityUnitService    = quantityUnitService;
     this._settingService         = settingService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService        = languageService;
 }
 public QuantityUnitController(IQuantityUnitService quantityUnitService,
     ISettingService settingService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ILocalizedEntityService localizedEntityService, 
     ILanguageService languageService)
 {
     this._quantityUnitService = quantityUnitService;
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
 }
Exemple #9
0
 public OrderController(
     IOrderService orderService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     IOrderProcessingService orderProcessingService,
     IDateTimeHelper dateTimeHelper,
     IPaymentService paymentService,
     IPdfConverter pdfConverter,
     IShippingService shippingService,
     ICountryService countryService,
     ICheckoutAttributeFormatter checkoutAttributeFormatter,
     IStoreService storeService,
     IProductService productService,
     IProductAttributeFormatter productAttributeFormatter,
     PluginMediator pluginMediator,
     ICommonServices services,
     IQuantityUnitService quantityUnitService,
     ProductUrlHelper productUrlHelper,
     IProductAttributeParser productAttributeParser,
     IPictureService pictureService,
     CatalogSettings catalogSettings,
     MediaSettings mediaSettings,
     ShoppingCartSettings shoppingCartSettings)
 {
     this._orderService               = orderService;
     this._shipmentService            = shipmentService;
     this._currencyService            = currencyService;
     this._priceFormatter             = priceFormatter;
     this._orderProcessingService     = orderProcessingService;
     this._dateTimeHelper             = dateTimeHelper;
     this._paymentService             = paymentService;
     this._pdfConverter               = pdfConverter;
     this._shippingService            = shippingService;
     this._countryService             = countryService;
     this._productService             = productService;
     this._productAttributeFormatter  = productAttributeFormatter;
     this._storeService               = storeService;
     this._checkoutAttributeFormatter = checkoutAttributeFormatter;
     this._pluginMediator             = pluginMediator;
     this._services               = services;
     this._quantityUnitService    = quantityUnitService;
     this._productUrlHelper       = productUrlHelper;
     this._pictureService         = pictureService;
     this._catalogSettings        = catalogSettings;
     this._productAttributeParser = productAttributeParser;
     this._mediaSettings          = mediaSettings;
     this._shoppingCartSettings   = shoppingCartSettings;
 }
 public OrderController(
     IOrderService orderService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     IOrderProcessingService orderProcessingService,
     IDateTimeHelper dateTimeHelper,
     IPaymentService paymentService,
     IPdfConverter pdfConverter,
     IShippingService shippingService,
     ICountryService countryService,
     ICheckoutAttributeFormatter checkoutAttributeFormatter,
     IStoreService storeService,
     IProductService productService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     Lazy <IPictureService> pictureService,
     PluginMediator pluginMediator,
     ICommonServices services,
     IQuantityUnitService quantityUnitService)
 {
     this._orderService               = orderService;
     this._shipmentService            = shipmentService;
     this._currencyService            = currencyService;
     this._priceFormatter             = priceFormatter;
     this._orderProcessingService     = orderProcessingService;
     this._dateTimeHelper             = dateTimeHelper;
     this._paymentService             = paymentService;
     this._pdfConverter               = pdfConverter;
     this._shippingService            = shippingService;
     this._countryService             = countryService;
     this._productService             = productService;
     this._productAttributeFormatter  = productAttributeFormatter;
     this._productAttributeParser     = productAttributeParser;
     this._storeService               = storeService;
     this._checkoutAttributeFormatter = checkoutAttributeFormatter;
     this._pluginMediator             = pluginMediator;
     this._services            = services;
     this._quantityUnitService = quantityUnitService;
 }
        public OrderController(
			IOrderService orderService, 
            IShipmentService shipmentService,
            ICurrencyService currencyService, 
			IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService, 
			IDateTimeHelper dateTimeHelper,
            IPaymentService paymentService,
			IPdfConverter pdfConverter, 
			IShippingService shippingService,
            ICountryService countryService,
            ICheckoutAttributeFormatter checkoutAttributeFormatter,
			IStoreService storeService,
			IProductService productService,
			IProductAttributeFormatter productAttributeFormatter,
			Lazy<IPictureService> pictureService,
			PluginMediator pluginMediator,
			ICommonServices services,
            IQuantityUnitService quantityUnitService)
        {
            this._orderService = orderService;
            this._shipmentService = shipmentService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._paymentService = paymentService;
			this._pdfConverter = pdfConverter;
            this._shippingService = shippingService;
            this._countryService = countryService;
			this._productService = productService;
			this._productAttributeFormatter = productAttributeFormatter;
			this._storeService = storeService;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
			this._pluginMediator = pluginMediator;
			this._services = services;
            this._quantityUnitService = quantityUnitService;
			T = NullLocalizer.Instance;
        }
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IPriceFormatter priceFormatter, ICurrencyService currencyService, IWebHelper webHelper,
            IWorkContext workContext, IStoreContext storeContext,
			IDownloadService downloadService, ShoppingCartSettings shoppingCartSettings,
            IOrderService orderService, IPaymentService paymentService,
            IProductAttributeParser productAttributeParser,
            StoreInformationSettings storeSettings, MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
            TaxSettings taxSettings, IEventPublisher eventPublisher,
            CompanyInformationSettings companyInfoSettings, BankConnectionSettings bankConnectionSettings,
            ContactDataSettings contactDataSettings, ITopicService topicService,
            IDeliveryTimeService deliveryTimeService, IQuantityUnitService quantityUnitService)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._emailAccountService = emailAccountService;
            this._priceFormatter = priceFormatter;
            this._currencyService = currencyService;
            this._webHelper = webHelper;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._downloadService = downloadService;
            this._orderService = orderService;
            this._paymentService = paymentService;
            this._productAttributeParser = productAttributeParser;
            this._storeSettings = storeSettings;
            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
            this._eventPublisher = eventPublisher;
            this._companyInfoSettings = companyInfoSettings;
            this._bankConnectionSettings = bankConnectionSettings;
            this._contactDataSettings = contactDataSettings;
            this._topicService = topicService;
            this._shoppingCartSettings = shoppingCartSettings;
            this._deliveryTimeService = deliveryTimeService;
            this._quantityUnitService = quantityUnitService;
        }
        public ShoppingCartController(IProductService productService,
			IWorkContext workContext, IStoreContext storeContext,
            IShoppingCartService shoppingCartService, IPictureService pictureService,
            ILocalizationService localizationService, 
            IProductAttributeService productAttributeService, IProductAttributeFormatter productAttributeFormatter,
            IProductAttributeParser productAttributeParser,
            ITaxService taxService, ICurrencyService currencyService, 
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            ICheckoutAttributeParser checkoutAttributeParser, ICheckoutAttributeFormatter checkoutAttributeFormatter, 
            IOrderProcessingService orderProcessingService,
            IDiscountService discountService,ICustomerService customerService, 
            IGiftCardService giftCardService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IShippingService shippingService, 
            IOrderTotalCalculationService orderTotalCalculationService,
            ICheckoutAttributeService checkoutAttributeService, IPaymentService paymentService,
            IWorkflowMessageService workflowMessageService,
            IPermissionService permissionService, IDeliveryTimeService deliveryTimeService,
            IDownloadService downloadService, ICacheManager cacheManager,
            IWebHelper webHelper, ICustomerActivityService customerActivityService,
			IGenericAttributeService genericAttributeService,
            MediaSettings mediaSettings, ShoppingCartSettings shoppingCartSettings,
            CatalogSettings catalogSettings, OrderSettings orderSettings,
            ShippingSettings shippingSettings, TaxSettings taxSettings,
            CaptchaSettings captchaSettings, AddressSettings addressSettings,
			HttpContextBase httpContext, PluginMediator pluginMediator,
            IQuantityUnitService quantityUnitService)
        {
            this._productService = productService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._shoppingCartService = shoppingCartService;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._productAttributeService = productAttributeService;
            this._productAttributeFormatter = productAttributeFormatter;
            this._productAttributeParser = productAttributeParser;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._checkoutAttributeParser = checkoutAttributeParser;
            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            this._orderProcessingService = orderProcessingService;
            this._discountService = discountService;
            this._customerService = customerService;
            this._giftCardService = giftCardService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._shippingService = shippingService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._checkoutAttributeService = checkoutAttributeService;
            this._paymentService = paymentService;
            this._workflowMessageService = workflowMessageService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;
            this._cacheManager = cacheManager;
            this._webHelper = webHelper;
            this._customerActivityService = customerActivityService;
            this._genericAttributeService = genericAttributeService;
            this._deliveryTimeService = deliveryTimeService;
            this._httpContext = httpContext;
            this._mediaSettings = mediaSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._captchaSettings = captchaSettings;
            this._addressSettings = addressSettings;
            this._pluginMediator = pluginMediator;
            this._quantityUnitService = quantityUnitService;
        }
Exemple #14
0
 public QuantityUnitController(IQuantityUnitService categoryService)
 {
     _quantityUnitService = categoryService;
 }
        public CatalogHelper(
			ICommonServices services,
			ICategoryService categoryService,
			IManufacturerService manufacturerService,
			IProductService productService,
			IProductTemplateService productTemplateService,
			IProductAttributeService productAttributeService,
			IProductAttributeParser productAttributeParser,
			IProductAttributeFormatter productAttributeFormatter,
			ITaxService taxService,
			ICurrencyService currencyService,
			IPictureService pictureService,
			IPriceCalculationService priceCalculationService,
			IPriceFormatter priceFormatter,
			ISpecificationAttributeService specificationAttributeService,
			IDateTimeHelper dateTimeHelper,
			IBackInStockSubscriptionService backInStockSubscriptionService,
			IDownloadService downloadService,
			MediaSettings mediaSettings,
			CatalogSettings catalogSettings,
			CustomerSettings customerSettings,
			CaptchaSettings captchaSettings,
			IMeasureService measureService,
            IQuantityUnitService quantityUnitService,
			MeasureSettings measureSettings,
			TaxSettings taxSettings,
			IDeliveryTimeService deliveryTimeService,
			ISettingService settingService,
			Lazy<IMenuPublisher> _menuPublisher,
			Lazy<ITopicService> topicService,
			HttpRequestBase httpRequest,
			UrlHelper urlHelper)
        {
            this._services = services;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productTemplateService = productTemplateService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = _services.Localization;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._specificationAttributeService = specificationAttributeService;
            this._dateTimeHelper = dateTimeHelper;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._downloadService = downloadService;
            this._measureService = measureService;
            this._quantityUnitService = quantityUnitService;
            this._measureSettings = measureSettings;
            this._taxSettings = taxSettings;
            this._deliveryTimeService = deliveryTimeService;
            this._settingService = settingService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
            this._menuPublisher = _menuPublisher;
            this._topicService = topicService;
            this._httpRequest = httpRequest;
            this._urlHelper = urlHelper;

            T = NullLocalizer.Instance;
        }