コード例 #1
0
 public MiscFacebookShopController(IAclService aclService,
     ICacheManager cacheManager,
     CatalogSettings catalogSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductService productService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     ITaxService taxService,
     IWorkContext workContext)
 {
     this._aclService = aclService;
     this._cacheManager = cacheManager;
     this._catalogSettings = catalogSettings;
     this._categoryService = categoryService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._pictureService = pictureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._productService = productService;
     this._storeContext = storeContext;
     this._storeMappingService = storeMappingService;
     this._taxService = taxService;
     this._workContext = workContext;
 }
コード例 #2
0
 public MobSocialMessageService(IMessageTemplateService messageTemplateService,
                                    IStoreService storeService, IMessageTokenProvider messageTokenProvider,
                                    ILanguageService languageService,
                                    IStoreContext storeContext,
                                    IEventPublisher eventPublisher,
                                    ITokenizer tokenizer, IQueuedEmailService queuedEmailService,
                                    IEmailAccountService emailAccountService,
                                    EmailAccountSettings emailAccountSettings,
                                    ILocalizationService localizationService,
                                    MessageTemplatesSettings messageTemplateSettings,
                                    CatalogSettings catalogSettings,
                                    IProductAttributeParser productAttributeParser, IWorkContext workContext)
 {
     _messageTemplateService = messageTemplateService;
     _storeService = storeService;
     _messageTokenProvider = messageTokenProvider;
     _languageService = languageService;
     _storeContext = storeContext;
     _eventPublisher = eventPublisher;
     _tokenizer = tokenizer;
     _queuedEmailService = queuedEmailService;
     _emailAccountService = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _localizationService = localizationService;
     _messageTemplateSettings = messageTemplateSettings;
     _catalogSettings = catalogSettings;
     _productAttributeParser = productAttributeParser;
     _workContext = workContext;
 }
 public PriceCalculationService(IWorkContext workContext,
         IStoreContext storeContext,
         IDiscountService discountService,
         ICategoryService categoryService,
         IProductAttributeParser productAttributeParser,
         IProductService productService,
         ICacheManager cacheManager,
         ShoppingCartSettings shoppingCartSettings,
         CatalogSettings catalogSettings,
         IPriceForSizeService priceForSizeService)
   : base(
   workContext,
   storeContext,
   discountService,
   categoryService,
   productAttributeParser,
   productService,
   cacheManager,
   shoppingCartSettings,
   catalogSettings
   )
 {
   _productAttributeParser = productAttributeParser;
   _productService = productService;
   _priceForSizeService = priceForSizeService;
 }
コード例 #4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContext">HTTP context</param>
 /// <param name="productService">Product service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public CompareProductsService(HttpContextBase httpContext, IProductService productService,
     CatalogSettings catalogSettings)
 {
     this._httpContext = httpContext;
     this._productService = productService;
     this._catalogSettings = catalogSettings;
 }
コード例 #5
0
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
     IManufacturerService manufacturerService, IProductService productService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     IDiscountService discountService, IPermissionService permissionService,
     IAclService aclService,
     IExportManager exportManager, IWorkContext workContext,
     ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
     CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._discountService = discountService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._exportManager = exportManager;
     this._workContext = workContext;
     this._customerActivityService = customerActivityService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
コード例 #6
0
ファイル: OrderController.cs プロジェクト: pquic/qCommerce
        public OrderController(IOrderService orderService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IMeasureService measureService,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, ICustomerService customerService,
            IWorkflowMessageService workflowMessageService, 
            LocalizationSettings localizationSettings,
            MeasureSettings measureSettings, CatalogSettings catalogSettings,
            OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._measureService = measureService;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;

            this._localizationSettings = localizationSettings;
            this._measureSettings = measureSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
        }
コード例 #7
0
ファイル: PdfService.cs プロジェクト: priceLiu/MulitNop
 public PdfService(ILocalizationService localizationService, IOrderService orderService,
     IPaymentService paymentService,
     IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter,
     ICurrencyService currencyService, IMeasureService measureService,
     IPictureService pictureService, IProductService productService, 
     IProductAttributeParser productAttributeParser, IWebHelper webHelper, 
     CatalogSettings catalogSettings, CurrencySettings currencySettings,
     MeasureSettings measureSettings, PdfSettings pdfSettings, TaxSettings taxSettings,
     StoreInformationSettings storeInformationSettings, AddressSettings addressSettings)
 {
     this._localizationService = localizationService;
     this._orderService = orderService;
     this._paymentService = paymentService;
     this._dateTimeHelper = dateTimeHelper;
     this._priceFormatter = priceFormatter;
     this._currencyService = currencyService;
     this._measureService = measureService;
     this._pictureService = pictureService;
     this._productService = productService;
     this._productAttributeParser = productAttributeParser;
     this._webHelper = webHelper;
     this._currencySettings = currencySettings;
     this._catalogSettings = catalogSettings;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._taxSettings = taxSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._addressSettings = addressSettings;
 }
コード例 #8
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContext">HTTP context</param>
 /// <param name="productService">Product service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public RecentlyViewedProductsService(HttpContextBase httpContext, IProductService productService,
     CatalogSettings catalogSettings)
 {
     this._httpContext = httpContext;
     this._productService = productService;
     this._catalogSettings = catalogSettings;
 }
コード例 #9
0
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
            IWorkContext workContext, IDownloadService downloadService,
            IOrderService orderService, IPaymentService paymentService,
            IProductAttributeParser productAttributeParser,
            MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
            TaxSettings taxSettings, IEventPublisher eventPublisher)
        {
            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._downloadService = downloadService;
            this._orderService = orderService;
            this._paymentService = paymentService;
            this._productAttributeParser = productAttributeParser;

            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
            this._eventPublisher = eventPublisher;
        }
コード例 #10
0
 public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
     ICustomerService customerService, IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, IPictureService pictureService,
     ILanguageService languageService, ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, IExportManager exportManager,
     ICustomerActivityService customerActivityService, IAclService aclService, 
     IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
     this._catalogSettings = catalogSettings;
 }
コード例 #11
0
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
            IWorkContext workContext, IDownloadService downloadService,
            IOrderService orderService,
            StoreInformationSettings storeSettings, MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
            TaxSettings taxSettings)
        {
            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._downloadService = downloadService;
            this._orderService = orderService;

            this._storeSettings = storeSettings;
            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
        }
コード例 #12
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="workContext">Work context</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="priceCalculationService">Price calculation service</param>
 /// <param name="taxService">Tax service</param>
 /// <param name="shippingService">Shipping service</param>
 /// <param name="paymentService">Payment service</param>
 /// <param name="checkoutAttributeParser">Checkout attribute parser</param>
 /// <param name="discountService">Discount service</param>
 /// <param name="giftCardService">Gift card service</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="taxSettings">Tax settings</param>
 /// <param name="rewardPointsSettings">Reward points settings</param>
 /// <param name="shippingSettings">Shipping settings</param>
 /// <param name="shoppingCartSettings">Shopping cart settings</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public OrderTotalCalculationService(IWorkContext workContext,
     IStoreContext storeContext,
     IPriceCalculationService priceCalculationService,
     ITaxService taxService,
     IShippingService shippingService,
     IPaymentService paymentService,
     ICheckoutAttributeParser checkoutAttributeParser,
     IDiscountService discountService,
     IGiftCardService giftCardService,
     IGenericAttributeService genericAttributeService,
     TaxSettings taxSettings,
     RewardPointsSettings rewardPointsSettings,
     ShippingSettings shippingSettings,
     ShoppingCartSettings shoppingCartSettings,
     CatalogSettings catalogSettings)
 {
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._priceCalculationService = priceCalculationService;
     this._taxService = taxService;
     this._shippingService = shippingService;
     this._paymentService = paymentService;
     this._checkoutAttributeParser = checkoutAttributeParser;
     this._discountService = discountService;
     this._giftCardService = giftCardService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._shippingSettings = shippingSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._catalogSettings = catalogSettings;
 }
コード例 #13
0
        public OrderController(IOrderService orderService, 
            IShipmentService shipmentService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, IShippingService shippingService,
            ICountryService countryService, IProductAttributeParser productAttributeParser,
            IWebHelper webHelper,
            CatalogSettings catalogSettings, OrderSettings orderSettings,
            TaxSettings taxSettings, PdfSettings pdfSettings,
            ShippingSettings shippingSettings, AddressSettings addressSettings)
        {
            this._orderService = orderService;
            this._shipmentService = shipmentService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._shippingService = shippingService;
            this._countryService = countryService;
            this._productAttributeParser = productAttributeParser;
            this._webHelper = webHelper;

            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
            this._shippingSettings = shippingSettings;
            this._addressSettings = addressSettings;
        }
コード例 #14
0
        public new void SetUp()
        {
            _workContext = null;

            _store = new Store() { Id = 1 };
            _storeContext = MockRepository.GenerateMock<IStoreContext>();
            _storeContext.Expect(x => x.CurrentStore).Return(_store);

            _discountService = MockRepository.GenerateMock<IDiscountService>();
            _categoryService = MockRepository.GenerateMock<ICategoryService>();
            _productService = MockRepository.GenerateMock<IProductService>();


            _productAttributeParser = MockRepository.GenerateMock<IProductAttributeParser>();

            _shoppingCartSettings = new ShoppingCartSettings();
            _catalogSettings = new CatalogSettings();

            _cacheManager = new NopNullCache();

            _priceCalcService = new PriceCalculationService(_workContext,
                _storeContext, 
                _discountService,
                _categoryService,
                _productAttributeParser,
                _productService,
                _cacheManager,
                _shoppingCartSettings, 
                _catalogSettings);
        }
コード例 #15
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContext">HTTP context</param>
 /// <param name="productService">Product service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public ProductCitiesService(HttpContextBase httpContext, IProductService productService,IRepository<ProductCities> productCitiesRepository,
     CatalogSettings catalogSettings)
 {
     this._httpContext = httpContext;
     this._productService = productService;
     this._productCitiesRepository = productCitiesRepository;
     this._catalogSettings = catalogSettings;
 }
コード例 #16
0
ファイル: TopicService.cs プロジェクト: nkasar/nopCommerce
 public TopicService(IRepository<Topic> topicRepository, 
     IRepository<StoreMapping> storeMappingRepository,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher)
 {
     this._topicRepository = topicRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
 }
コード例 #17
0
ファイル: BlogService.cs プロジェクト: powareverb/grandnode
 public BlogService(IRepository<BlogPost> blogPostRepository,
     IRepository<BlogComment> blogCommentRepository,
     CatalogSettings catalogSettings, 
     IEventPublisher eventPublisher)
 {
     this._blogPostRepository = blogPostRepository;
     this._blogCommentRepository = blogCommentRepository;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
 }
コード例 #18
0
 public MtProductService(ICacheManager cacheManager,
     IRepository<Product> productRepository,
     IRepository<RelatedProduct> relatedProductRepository,
     IRepository<CrossSellProduct> crossSellProductRepository,
     IRepository<TierPrice> tierPriceRepository,
     IRepository<ProductPicture> productPictureRepository,
     IRepository<LocalizedProperty> localizedPropertyRepository,
     IRepository<AclRecord> aclRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IRepository<ProductReview> productReviewRepository,
     IRepository<ProductWarehouseInventory> productWarehouseInventoryRepository,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     ILanguageService languageService,
     IWorkflowMessageService workflowMessageService,
     IDataProvider dataProvider,
     IDbContext dbContext,
     IWorkContext workContext,
     IStoreContext storeContext,
     LocalizationSettings localizationSettings,
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IAclService aclService,
     IStoreMappingService storeMappingService)
 {
     this._cacheManager = cacheManager;
     this._productRepository = productRepository;
     this._relatedProductRepository = relatedProductRepository;
     this._crossSellProductRepository = crossSellProductRepository;
     this._tierPriceRepository = tierPriceRepository;
     this._productPictureRepository = productPictureRepository;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._aclRepository = aclRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     this._productReviewRepository = productReviewRepository;
     this._productWarehouseInventoryRepository = productWarehouseInventoryRepository;
     this._productAttributeService = productAttributeService;
     this._productAttributeParser = productAttributeParser;
     this._languageService = languageService;
     this._workflowMessageService = workflowMessageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._localizationSettings = localizationSettings;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
 }
コード例 #19
0
ファイル: NewsService.cs プロジェクト: powareverb/grandnode
 public NewsService(IRepository<NewsItem> newsItemRepository, 
     IRepository<NewsComment> newsCommentRepository,
     //IRepository<StoreMapping> storeMappingRepository,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher)
 {
     this._newsItemRepository = newsItemRepository;
     this._newsCommentRepository = newsCommentRepository;
     //this._storeMappingRepository = storeMappingRepository;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
 }
コード例 #20
0
 public PriceCalculationService(IWorkContext workContext,
     IDiscountService discountService, ICategoryService categoryService,
     IProductAttributeParser productAttributeParser, ShoppingCartSettings shoppingCartSettings,
     CatalogSettings catalogSettings)
 {
     this._workContext = workContext;
     this._discountService = discountService;
     this._categoryService = categoryService;
     this._productAttributeParser = productAttributeParser;
     this._shoppingCartSettings = shoppingCartSettings;
     this._catalogSettings = catalogSettings;
 }
コード例 #21
0
ファイル: NewsService.cs プロジェクト: freemsly/grandnode
 public NewsService(IRepository<NewsItem> newsItemRepository, 
     IRepository<NewsComment> newsCommentRepository,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     IWorkContext workContext)
 {
     this._newsItemRepository = newsItemRepository;
     this._newsCommentRepository = newsCommentRepository;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._workContext = workContext;
 }
コード例 #22
0
ファイル: CountryService.cs プロジェクト: LaOrigin/Leorigin
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="countryRepository">Country repository</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 public CountryService(ICacheManager cacheManager,
     IRepository<Country> countryRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IStoreContext storeContext,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     this._countryRepository = countryRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._storeContext = storeContext;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
 }
コード例 #23
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="specificationAttributeRepository">Specification attribute repository</param>
 /// <param name="specificationAttributeOptionRepository">Specification attribute option repository</param>
 /// <param name="productSpecificationAttributeRepository">Product specification attribute repository</param>
 /// <param name="productRepository">Product repository</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 public SpecificationAttributeService(ICacheManager cacheManager,
     IRepository<SpecificationAttribute> specificationAttributeRepository,
     IRepository<SpecificationAttributeOption> specificationAttributeOptionRepository,
     IRepository<ProductSpecificationAttribute> productSpecificationAttributeRepository,
     IRepository<Product> productRepository, CatalogSettings catalogSettings,
     IEventPublisher eventPublisher)
 {
     _cacheManager = cacheManager;
     _specificationAttributeRepository = specificationAttributeRepository;
     _specificationAttributeOptionRepository = specificationAttributeOptionRepository;
     _productSpecificationAttributeRepository = productSpecificationAttributeRepository;
     _productRepository = productRepository;
     _catalogSettings = catalogSettings;
     _eventPublisher = eventPublisher;
 }
コード例 #24
0
ファイル: PdfService.cs プロジェクト: powareverb/grandnode
 public PdfService(ILocalizationService localizationService, 
     ILanguageService languageService,
     IWorkContext workContext,
     IOrderService orderService,
     IPaymentService paymentService,
     IDateTimeHelper dateTimeHelper,
     IPriceFormatter priceFormatter,
     ICurrencyService currencyService, 
     IMeasureService measureService,
     IPictureService pictureService,
     IProductService productService, 
     IProductAttributeParser productAttributeParser,
     IStoreService storeService,
     IStoreContext storeContext,
     ISettingService settingContext,
     IWebHelper webHelper,
     IAddressAttributeFormatter addressAttributeFormatter,
     CatalogSettings catalogSettings, 
     CurrencySettings currencySettings,
     MeasureSettings measureSettings,
     PdfSettings pdfSettings,
     TaxSettings taxSettings,
     AddressSettings addressSettings)
 {
     this._localizationService = localizationService;
     this._languageService = languageService;
     this._workContext = workContext;
     this._orderService = orderService;
     this._paymentService = paymentService;
     this._dateTimeHelper = dateTimeHelper;
     this._priceFormatter = priceFormatter;
     this._currencyService = currencyService;
     this._measureService = measureService;
     this._pictureService = pictureService;
     this._productService = productService;
     this._productAttributeParser = productAttributeParser;
     this._storeService = storeService;
     this._storeContext = storeContext;
     this._settingContext = settingContext;
     this._webHelper = webHelper;
     this._addressAttributeFormatter = addressAttributeFormatter;
     this._currencySettings = currencySettings;
     this._catalogSettings = catalogSettings;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._taxSettings = taxSettings;
     this._addressSettings = addressSettings;
 }
コード例 #25
0
ファイル: TopicService.cs プロジェクト: powareverb/grandnode
 public TopicService(IRepository<Topic> topicRepository,
     IRepository<AclRecord> aclRepository,
     IWorkContext workContext,
     IStoreMappingService storeMappingService,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher,
     ICacheManager cacheManager)
 {
     this._topicRepository = topicRepository;
     this._aclRepository = aclRepository;
     this._workContext = workContext;
     this._storeMappingService = storeMappingService;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
     this._cacheManager = cacheManager;
 }
コード例 #26
0
 public BackInStockSubscriptionController(IProductService productService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ILocalizationService localizationService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     CatalogSettings catalogSettings,
     CustomerSettings customerSettings)
 {
     this._productService = productService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._localizationService = localizationService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._catalogSettings = catalogSettings;
     this._customerSettings = customerSettings;
 }
コード例 #27
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="storeMappingRepository">Store mapping repository</param>
 /// <param name="languageService">Language service</param>
 /// <param name="localizedEntityService">Localized entity service</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="messageTemplateRepository">Message template repository</param>
 /// <param name="catalogSettings">Catalog settings</param>
 /// <param name="eventPublisher">Event published</param>
 public MessageTemplateService(ICacheManager cacheManager,
     //IRepository<StoreMapping> storeMappingRepository,
     ILanguageService languageService,
     IStoreMappingService storeMappingService,
     IRepository<MessageTemplate> messageTemplateRepository,
     CatalogSettings catalogSettings,
     IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     //this._storeMappingRepository = storeMappingRepository;
     this._languageService = languageService;
     this._storeMappingService = storeMappingService;
     this._messageTemplateRepository = messageTemplateRepository;
     this._catalogSettings = catalogSettings;
     this._eventPublisher = eventPublisher;
 }
コード例 #28
0
        public CommonController(ICategoryService categoryService, IProductService productService,
            IManufacturerService manufacturerService, ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService, ILocalizationService localizationService,
            IWorkContext workContext,
            IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
            IThemeProvider themeProvider, IForumService forumService,
            ICustomerService customerService, IWebHelper webHelper,
            IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper,
            HttpContextBase httpContext, CustomerSettings customerSettings, 
            TaxSettings taxSettings, CatalogSettings catalogSettings,
            StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings,
            LocalizationSettings localizationSettings, CaptchaSettings captchaSettings)
        {
            this._categoryService = categoryService;
            this._productService = productService;
            this._manufacturerService = manufacturerService;
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._themeContext = themeContext;
            this._themeProvider = themeProvider;
            this._forumservice = forumService;
            this._customerService = customerService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._mobileDeviceHelper = mobileDeviceHelper;
            this._httpContext = httpContext;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
        }
コード例 #29
0
 public ManufacturerController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService,
     IProductService productService,
     ICustomerService customerService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService,
     ILanguageService languageService, 
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, 
     IExportManager exportManager,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     CatalogSettings catalogSettings,
     IWorkContext workContext,
     IImportManager importManager, 
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._catalogSettings = catalogSettings;
     this._workContext = workContext;
     this._importManager = importManager;
     this._cacheManager = cacheManager;
 }
コード例 #30
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="productTagRepository">Product tag repository</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="catalogSettings">Catalog settings</param>
 public ProductTagService(IRepository<ProductTag> productTagRepository,
     IRepository<StoreMapping> storeMappingRepository,
     IDataProvider dataProvider,
     IDbContext dbContext,
     CommonSettings commonSettings,
     CatalogSettings catalogSettings,
     ICacheManager cacheManager,
     IEventPublisher eventPublisher)
 {
     this._productTagRepository = productTagRepository;
     this._storeMappingRepository = storeMappingRepository;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._catalogSettings = catalogSettings;
     this._cacheManager = cacheManager;
     this._eventPublisher = eventPublisher;
 }