public new void SetUp()
        {
            _storeService                  = MockRepository.GenerateMock <IStoreService>();
            _categoryService               = MockRepository.GenerateMock <ICategoryService>();
            _manufacturerService           = MockRepository.GenerateMock <IManufacturerService>();
            _productAttributeService       = MockRepository.GenerateMock <IProductAttributeService>();
            _pictureService                = MockRepository.GenerateMock <IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock <INewsLetterSubscriptionService>();
            _productEditorSettings         = new ProductEditorSettings();
            _workContext                = MockRepository.GenerateMock <IWorkContext>();
            _vendorService              = MockRepository.GenerateMock <IVendorService>();
            _productTemplateService     = MockRepository.GenerateMock <IProductTemplateService>();
            _dateRangeService           = MockRepository.GenerateMock <IDateRangeService>();
            _taxCategoryService         = MockRepository.GenerateMock <ITaxCategoryService>();
            _measureService             = MockRepository.GenerateMock <IMeasureService>();
            _catalogSettings            = new CatalogSettings();
            _genericAttributeService    = MockRepository.GenerateMock <IGenericAttributeService>();
            _customerAttributeFormatter = MockRepository.GenerateMock <ICustomerAttributeFormatter>();


            _exportManager = new ExportManager(_categoryService,
                                               _manufacturerService, _productAttributeService,
                                               _pictureService, _newsLetterSubscriptionService,
                                               _storeService, _workContext, _productEditorSettings,
                                               _vendorService, _productTemplateService, _dateRangeService,
                                               _taxCategoryService, _measureService, _catalogSettings,
                                               _genericAttributeService, _customerAttributeFormatter);
        }
Exemplo n.º 2
0
 public HomeController(
     IPictureService pictureService,
     IContentService contentService,
     INewsService newsService,
     IWorkContext workContext,
     NewsSettings newsSettings,
     ILocalizationService localizationService,
     ICountryService countryService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IWorkflowMessageService workflowMessageService,
     IProductService productService,
     IExportManager exportManager,
     ICacheManager cacheManager
     )
 {
     this._pictureService                = pictureService;
     this._contentService                = contentService;
     this._newsService                   = newsService;
     this._workContext                   = workContext;
     this._newsSettings                  = newsSettings;
     this._localizationService           = localizationService;
     this._countryService                = countryService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workflowMessageService        = workflowMessageService;
     this._productService                = productService;
     this._exportManager                 = exportManager;
     this._cacheManager                  = EngineContext.Current.ContainerManager.Resolve <ICacheManager>("nop_cache_static");
 }
Exemplo n.º 3
0
 public MaterialController(IMaterialService materialService,
                           IMaterialGroupService materialGroupService,
                           ISupplierService supplierService,
                           IWorkContext workContext,
                           ILocalizationService localizationService,
                           IPictureService pictureService,
                           //ICopyMaterialService copyMaterialService,
                           IPdfService pdfService,
                           IExportManager exportManager,
                           IImportManager importManager,
                           ICustomerActivityService customerActivityService,
                           IPermissionService permissionService,
                           IShippingService shippingService,
                           IStaticCacheManager cacheManager,
                           IDateTimeHelper dateTimeHelper)
 {
     this._materialService      = materialService;
     this._materialGroupService = materialGroupService;
     this._supplierService      = supplierService;
     this._workContext          = workContext;
     this._localizationService  = localizationService;
     this._pictureService       = pictureService;
     //this._copyMaterialService = copyMaterialService;
     this._pdfService              = pdfService;
     this._exportManager           = exportManager;
     this._importManager           = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService       = permissionService;
     this._shippingService         = shippingService;
     this._cacheManager            = cacheManager;
     this._dateTimeHelper          = dateTimeHelper;
 }
Exemplo n.º 4
0
        public void SetUp()
        {
            _catalogSettings        = GetService <CatalogSettings>();
            _addressService         = GetService <IAddressService>();
            _categoryService        = GetService <ICategoryService>();
            _countryService         = GetService <ICountryService>();
            _customerService        = GetService <ICustomerService>();
            _dateRangeService       = GetService <IDateRangeService>();
            _exportManager          = GetService <IExportManager>();
            _manufacturerService    = GetService <IManufacturerService>();
            _measureService         = GetService <IMeasureService>();
            _orderService           = GetService <IOrderService>();
            _productTemplateService = GetService <IProductTemplateService>();
            _productRepository      = GetService <IRepository <Product> >();
            _taxCategoryService     = GetService <ITaxCategoryService>();
            _vendorService          = GetService <IVendorService>();

            GetService <IGenericAttributeService>()
            .SaveAttribute(_customerService.GetCustomerByEmail(NopTestsDefaults.AdminEmail), "category-advanced-mode",
                           true);
            GetService <IGenericAttributeService>()
            .SaveAttribute(_customerService.GetCustomerByEmail(NopTestsDefaults.AdminEmail), "manufacturer-advanced-mode",
                           true);
            GetService <IGenericAttributeService>()
            .SaveAttribute(_customerService.GetCustomerByEmail(NopTestsDefaults.AdminEmail), "product-advanced-mode",
                           true);
        }
Exemplo n.º 5
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;
 }
 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;
 }
Exemplo n.º 7
0
        private readonly IDistrictService _districtService; //NOP 3.828

        #endregion

        #region Constructors

        public CountryController(ICountryService countryService,
                                 IStateProvinceService stateProvinceService,
                                 ILocalizationService localizationService,
                                 IAddressService addressService,
                                 IPermissionService permissionService,
                                 ILocalizedEntityService localizedEntityService,
                                 ILanguageService languageService,
                                 IStoreService storeService,
                                 IStoreMappingService storeMappingService,
                                 IExportManager exportManager,
                                 IImportManager importManager,
                                 IDistrictService districtService) //NOP 3.828
        {
            this._countryService         = countryService;
            this._stateProvinceService   = stateProvinceService;
            this._localizationService    = localizationService;
            this._addressService         = addressService;
            this._permissionService      = permissionService;
            this._localizedEntityService = localizedEntityService;
            this._languageService        = languageService;
            this._storeService           = storeService;
            this._storeMappingService    = storeMappingService;
            this._exportManager          = exportManager;
            this._importManager          = importManager;
            this._districtService        = districtService; //NOP 3.828
        }
Exemplo n.º 8
0
 public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
                           IManufacturerService manufacturerService, IProductService productService,
                           IPictureService pictureService, ILanguageService languageService,
                           ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
                           IDiscountService discountService, IPermissionService permissionService,
                           IExportManager exportManager, IWorkContext workContext,
                           ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
                           CatalogSettings catalogSettings)
 {
     this._categoryService         = categoryService;
     this._categoryTemplateService = categoryTemplateService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._pictureService          = pictureService;
     this._languageService         = languageService;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._discountService         = discountService;
     this._permissionService       = permissionService;
     this._exportManager           = exportManager;
     this._workContext             = workContext;
     this._customerActivityService = customerActivityService;
     this._adminAreaSettings       = adminAreaSettings;
     this._catalogSettings         = catalogSettings;
 }
Exemplo n.º 9
0
 public CampaignController(ICampaignService campaignService,
                           ICustomerService customerService,
                           IDateTimeHelper dateTimeHelper,
                           IEmailAccountService emailAccountService,
                           EmailAccountSettings emailAccountSettings,
                           INewsLetterSubscriptionService newsLetterSubscriptionService,
                           ILocalizationService localizationService,
                           IMessageTokenProvider messageTokenProvider,
                           IStoreContext storeContext,
                           IStoreService storeService,
                           IPermissionService permissionService,
                           ICustomerTagService customerTagService,
                           IExportManager exportManager,
                           INewsletterCategoryService newsletterCategoryService)
 {
     this._campaignService               = campaignService;
     this._customerService               = customerService;
     this._dateTimeHelper                = dateTimeHelper;
     this._emailAccountService           = emailAccountService;
     this._emailAccountSettings          = emailAccountSettings;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._localizationService           = localizationService;
     this._messageTokenProvider          = messageTokenProvider;
     this._storeContext              = storeContext;
     this._storeService              = storeService;
     this._permissionService         = permissionService;
     this._customerTagService        = customerTagService;
     this._exportManager             = exportManager;
     this._newsletterCategoryService = newsletterCategoryService;
 }
 public CustomerController(ICustomerService customerService,
                           ICustomerViewModelService customerViewModelService,
                           IGenericAttributeService genericAttributeService,
                           ICustomerRegistrationService customerRegistrationService,
                           ICustomerReportService customerReportService,
                           ILocalizationService localizationService,
                           CustomerSettings customerSettings,
                           IWorkContext workContext,
                           IExportManager exportManager,
                           ICustomerAttributeParser customerAttributeParser,
                           ICustomerAttributeService customerAttributeService,
                           IAddressAttributeParser addressAttributeParser,
                           IAddressAttributeService addressAttributeService,
                           IWorkflowMessageService workflowMessageService,
                           IDownloadService downloadService)
 {
     this._customerService             = customerService;
     this._customerViewModelService    = customerViewModelService;
     this._genericAttributeService     = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerReportService       = customerReportService;
     this._localizationService         = localizationService;
     this._customerSettings            = customerSettings;
     this._workContext              = workContext;
     this._exportManager            = exportManager;
     this._customerAttributeParser  = customerAttributeParser;
     this._customerAttributeService = customerAttributeService;
     this._addressAttributeParser   = addressAttributeParser;
     this._addressAttributeService  = addressAttributeService;
     this._workflowMessageService   = workflowMessageService;
     this._downloadService          = downloadService;
 }
Exemplo n.º 11
0
        public ProductExtensionController(IMaterialGroupService materialGroupService,
                                          IMaterialService materialService,
                                          IProductService productService,
                                          IManufacturerService manufacturerService,
                                          IPictureService pictureService,
                                          ILocalizationService localizationService,
                                          IPermissionService permissionService,
                                          IExportManager exportManager,
                                          ICustomerActivityService customerActivityService,
                                          IWorkContext workContext,
                                          IShippingService shippingService,
                                          IImportManager importManager,
                                          IStaticCacheManager cacheManager)
        {
            this._materialGroupService = materialGroupService;
            this._materialService      = materialService;

            this._productService          = productService;
            this._manufacturerService     = manufacturerService;
            this._pictureService          = pictureService;
            this._localizationService     = localizationService;
            this._permissionService       = permissionService;
            this._exportManager           = exportManager;
            this._customerActivityService = customerActivityService;
            this._workContext             = workContext;
            this._importManager           = importManager;
            this._cacheManager            = cacheManager;
            this._shippingService         = shippingService;
        }
Exemplo n.º 12
0
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     IWorkContext workContext, ILanguageService languageService, 
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
Exemplo n.º 13
0
 public CategoryController(IAclService aclService,
                           ICategoryModelFactory categoryModelFactory,
                           ICategoryService categoryService,
                           ICustomerActivityService customerActivityService,
                           ICustomerService customerService,
                           IExportManager exportManager,
                           IImportManager importManager,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IStoreMappingService storeMappingService,
                           IStoreService storeService,
                           IUrlRecordService urlRecordService,
                           IWorkContext workContext)
 {
     this._aclService              = aclService;
     this._categoryModelFactory    = categoryModelFactory;
     this._categoryService         = categoryService;
     this._customerActivityService = customerActivityService;
     this._customerService         = customerService;
     this._exportManager           = exportManager;
     this._importManager           = importManager;
     this._localizationService     = localizationService;
     this._localizedEntityService  = localizedEntityService;
     this._permissionService       = permissionService;
     this._pictureService          = pictureService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
     this._workContext             = workContext;
 }
Exemplo n.º 14
0
 public CountryController(IAddressService addressService,
                          ICountryModelFactory countryModelFactory,
                          ICountryService countryService,
                          ICustomerActivityService customerActivityService,
                          IExportManager exportManager,
                          IImportManager importManager,
                          ILocalizationService localizationService,
                          ILocalizedEntityService localizedEntityService,
                          INotificationService notificationService,
                          IPermissionService permissionService,
                          IStateProvinceService stateProvinceService,
                          IStoreMappingService storeMappingService,
                          IStoreService storeService)
 {
     _addressService          = addressService;
     _countryModelFactory     = countryModelFactory;
     _countryService          = countryService;
     _customerActivityService = customerActivityService;
     _exportManager           = exportManager;
     _importManager           = importManager;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _notificationService     = notificationService;
     _permissionService       = permissionService;
     _stateProvinceService    = stateProvinceService;
     _storeMappingService     = storeMappingService;
     _storeService            = storeService;
 }
Exemplo n.º 15
0
 public new void SetUp()
 {
     _storeService                  = MockRepository.GenerateMock <IStoreService>();
     _categoryService               = MockRepository.GenerateMock <ICategoryService>();
     _manufacturerService           = MockRepository.GenerateMock <IManufacturerService>();
     _productAttributeService       = MockRepository.GenerateMock <IProductAttributeService>();
     _pictureService                = MockRepository.GenerateMock <IPictureService>();
     _newsLetterSubscriptionService = MockRepository.GenerateMock <INewsLetterSubscriptionService>();
     _productEditorSettings         = new ProductEditorSettings();
     _workContext            = MockRepository.GenerateMock <IWorkContext>();
     _vendorService          = MockRepository.GenerateMock <IVendorService>();
     _productTemplateService = MockRepository.GenerateMock <IProductTemplateService>();
     _shippingService        = MockRepository.GenerateMock <IShippingService>();
     _taxCategoryService     = MockRepository.GenerateMock <ITaxCategoryService>();
     _measureService         = MockRepository.GenerateMock <IMeasureService>();
     _catalogSettings        = new CatalogSettings();
     _discountService        = MockRepository.GenerateMock <IDiscountService>(); //NOP 3.826
     _giftCardService        = MockRepository.GenerateMock <IGiftCardService>(); //NOP 3.830
     _exportManager          = new ExportManager(_categoryService,
                                                 _manufacturerService, _productAttributeService,
                                                 _pictureService, _newsLetterSubscriptionService,
                                                 _storeService, _workContext, _productEditorSettings,
                                                 _vendorService, _productTemplateService, _shippingService,
                                                 _taxCategoryService, _measureService, _catalogSettings,
                                                 _discountService,  //NOP 3.826
                                                 _giftCardService); //NOP 3.830
 }
Exemplo n.º 16
0
 public CountryController(ICountryService countryService,
                          IStateProvinceService stateProvinceService,
                          ILocalizationService localizationService,
                          IAddressService addressService,
                          IPermissionService permissionService,
                          ILocalizedEntityService localizedEntityService,
                          ILanguageService languageService,
                          IStoreService storeService,
                          IStoreMappingService storeMappingService,
                          IExportManager exportManager,
                          IImportManager importManager,
                          ICustomerActivityService customerActivityService)
 {
     this._countryService          = countryService;
     this._stateProvinceService    = stateProvinceService;
     this._localizationService     = localizationService;
     this._addressService          = addressService;
     this._permissionService       = permissionService;
     this._localizedEntityService  = localizedEntityService;
     this._languageService         = languageService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._exportManager           = exportManager;
     this._importManager           = importManager;
     this._customerActivityService = customerActivityService;
 }
Exemplo n.º 17
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;
 }
Exemplo n.º 18
0
        public TableController(ILogger log, ICommandSender commandSender,
                               ITableService materialGroupService,
                               IMaterialService materialService,
                               ICategoryService categoryService,
                               IManufacturerService manufacturerService,
                               IPictureService pictureService,
                               ILocalizationService localizationService,
                               IPermissionService permissionService,
                               IExportManager exportManager,
                               ICustomerActivityService customerActivityService,
                               IWorkContext workContext,
                               IShippingService shippingService,
                               IImportManager importManager,
                               IStaticCacheManager cacheManager)
        {
            this._log                  = log;
            this._commandSender        = commandSender;
            this._materialGroupService = materialGroupService;
            this._materialService      = materialService;

            this._categoryService         = categoryService;
            this._manufacturerService     = manufacturerService;
            this._pictureService          = pictureService;
            this._localizationService     = localizationService;
            this._permissionService       = permissionService;
            this._exportManager           = exportManager;
            this._customerActivityService = customerActivityService;
            this._workContext             = workContext;
            this._importManager           = importManager;
            this._cacheManager            = cacheManager;
            this._shippingService         = shippingService;
        }
Exemplo n.º 19
0
 public CategoryController(ICategoryService categoryService,
                           IPostService postService,
                           ICustomerService customerService,
                           IUrlRecordService urlRecordService,
                           IPictureService pictureService,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           ILocalizedEntityService localizedEntityService,
                           IPermissionService permissionService,
                           IAclService aclService,
                           IExportManager exportManager,
                           ICustomerActivityService customerActivityService,
                           CatalogSettings catalogSettings, ICategoryTemplateService categoryTemplateService,
                           ICategoryTypeService categoryTypeService)
 {
     _categoryService         = categoryService;
     _postService             = postService;
     _customerService         = customerService;
     _urlRecordService        = urlRecordService;
     _pictureService          = pictureService;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _permissionService       = permissionService;
     _aclService              = aclService;
     _exportManager           = exportManager;
     _customerActivityService = customerActivityService;
     _catalogSettings         = catalogSettings;
     _categoryTemplateService = categoryTemplateService;
     _categoryTypeService     = categoryTypeService;
 }
Exemplo n.º 20
0
 public ReportController(IContractService contractService,
                         ICustomerService customerService,
                         IUnitService unitService,
                         IProcuringAgencyService procuringAgencyService,
                         IConstructionModelFactory constructionModelFactory,
                         IReportService reportService,
                         IExportManager exportManager,
                         IConstructionService constructionService,
                         IPermissionService permissionService,
                         IContractFormService contractFormService,
                         IContractTypeService contractTypeService,
                         IConstructionTypeService constructionTypeService
                         )
 {
     this._customerService          = customerService;
     this._constructionTypeService  = constructionTypeService;
     this._contractTypeService      = contractTypeService;
     this._procuringAgencyService   = procuringAgencyService;
     this._unitService              = unitService;
     this._exportManager            = exportManager;
     this._contractService          = contractService;
     this._permissionService        = permissionService;
     this._reportService            = reportService;
     this._constructionModelFactory = constructionModelFactory;
     this._constructionService      = constructionService;
     this._contractFormService      = contractFormService;
 }
Exemplo n.º 21
0
 public UserController(AddressSettings addressSettings,
                       CaptchaSettings captchaSettings,
                       UserSettings userSettings,
                       DateTimeSettings dateTimeSettings,
                       IDownloadService downloadService,
                       IAddressAttributeParser addressAttributeParser,
                       IAddressModelFactory addressModelFactory,
                       IAddressService addressService,
                       IAuthenticationService authenticationService,
                       ICountryService countryService,
                       IUserActivityService userActivityService,
                       IUserAttributeParser userAttributeParser,
                       IUserAttributeService userAttributeService,
                       IUserModelFactory userModelFactory,
                       IUserRegistrationService userRegistrationService,
                       IUserService userService,
                       IEventPublisher eventPublisher,
                       IExportManager exportManager,
                       IExternalAuthenticationService externalAuthenticationService,
                       IGenericAttributeService genericAttributeService,
                       ILocalizationService localizationService,
                       INewsLetterSubscriptionService newsLetterSubscriptionService,
                       IPictureService pictureService,
                       IWebHelper webHelper,
                       IWorkContext workContext,
                       IWorkflowMessageService workflowMessageService,
                       LocalizationSettings localizationSettings,
                       MediaSettings mediaSettings,
                       SiteInformationSettings siteInformationSettings)
 {
     this._addressSettings               = addressSettings;
     this._captchaSettings               = captchaSettings;
     this._userSettings                  = userSettings;
     this._dateTimeSettings              = dateTimeSettings;
     this._downloadService               = downloadService;
     this._addressAttributeParser        = addressAttributeParser;
     this._addressModelFactory           = addressModelFactory;
     this._addressService                = addressService;
     this._authenticationService         = authenticationService;
     this._countryService                = countryService;
     this._userActivityService           = userActivityService;
     this._userAttributeParser           = userAttributeParser;
     this._userAttributeService          = userAttributeService;
     this._userModelFactory              = userModelFactory;
     this._userRegistrationService       = userRegistrationService;
     this._userService                   = userService;
     this._eventPublisher                = eventPublisher;
     this._exportManager                 = exportManager;
     this._externalAuthenticationService = externalAuthenticationService;
     this._genericAttributeService       = genericAttributeService;
     this._localizationService           = localizationService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._pictureService                = pictureService;
     this._webHelper               = webHelper;
     this._workContext             = workContext;
     this._workflowMessageService  = workflowMessageService;
     this._localizationSettings    = localizationSettings;
     this._mediaSettings           = mediaSettings;
     this._siteInformationSettings = siteInformationSettings;
 }
Exemplo n.º 22
0
 public CountryController(ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ICityService cityService,
     IZipcodeService zipcodeService,
     ILocalizationService localizationService,
     IAddressService addressService,
     IPermissionService permissionService,
     ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager,
     IImportManager importManager)
 {
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._cityService = cityService;
     this._zipcodeService = zipcodeService;
     this._localizationService = localizationService;
     this._addressService = addressService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._importManager = importManager;
 }
Exemplo n.º 23
0
 public IExportManager GetExportManager()
 {
     if (_export == null)
     {
         _export = new ExportManager(_http);
     }
     return(_export);
 }
Exemplo n.º 24
0
        internal static bool InitPlugins()
        {
            var files = new List <String>(Directory.GetFiles(Directory.GetCurrentDirectory(), "TeileListe.*.dll"));

            foreach (var dll in files)
            {
                try
                {
                    if (!dll.EndsWith("TeileListe.Common.dll"))
                    {
                        var assembly = Assembly.LoadFile(dll);
                        var types    = assembly.GetTypes();
                        foreach (var cls in types)
                        {
                            if (cls.IsPublic)
                            {
                                var interfaces = cls.GetInterfaces();
                                foreach (var iface in interfaces)
                                {
                                    if (cls.GetInterface(iface.FullName) == typeof(IExportManager))
                                    {
                                        if (ExportManager == null)
                                        {
                                            ExportManager = assembly.CreateInstance(cls.FullName) as IExportManager;

                                            if (ExportManager.InterfaceVersion != Version)
                                            {
                                                ExportManager.Dispose();
                                                ExportManager = null;
                                            }
                                        }
                                    }

                                    if (cls.GetInterface(iface.FullName) == typeof(IDbManager))
                                    {
                                        if (DbManager == null)
                                        {
                                            DbManager = assembly.CreateInstance(cls.FullName) as IDbManager;
                                            if (DbManager.InterfaceVersion != Version)
                                            {
                                                DbManager.Dispose();
                                                DbManager = null;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                catch (Exception)
                {
                    return(false);
                }
            }

            return(DbManager != null && ExportManager != null);
        }
Exemplo n.º 25
0
 public RelationsController(
     IShippingService shippingService,
     VendorSettings vendorSettings,
     IRepository <ItemsCompatability> iRepository,
     IRepository <Groups> gpRepository,
     IRepository <GroupsItems> gpiRepository,
     IRepository <RelationsGroupsItems> rgpRepository,
     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,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager,
     IVendorService vendorService,
     ICustomerActivityService customerActivityService,
     CatalogSettings catalogSettings,
     IWorkContext workContext,
     IImportManager importManager,
     ICacheManager cacheManager)
 {
     this._shippingService         = shippingService;
     this._vendorSettings          = vendorSettings;
     this._iRepository             = iRepository;
     this._gpRepository            = gpRepository;
     this._gpiRepository           = gpiRepository;
     this._rgpRepository           = rgpRepository;
     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._vendorService           = vendorService;
     this._aclService              = aclService;
     this._storeService            = storeService;
     this._storeMappingService     = storeMappingService;
     this._exportManager           = exportManager;
     this._customerActivityService = customerActivityService;
     this._catalogSettings         = catalogSettings;
     this._workContext             = workContext;
     this._importManager           = importManager;
     this._cacheManager            = cacheManager;
 }
Exemplo n.º 26
0
        public OutStandingDocsController()
        {
            //bizrule = new DQQueBiz();
            _dqQueService     = new CustomService();
            _exportManager    = new ExportManager();
            _messagingService = new MessagingService();

            _permissionservice = new PermissionsService();
        }
Exemplo n.º 27
0
 public SelectSellController(IProductService productService,
                             IProductTemplateService productTemplateService,
                             ICategoryService categoryService,
                             IManufacturerService manufacturerService,
                             ICustomerService customerService,
                             IUrlRecordService urlRecordService,
                             IWorkContext workContext,
                             ILanguageService languageService,
                             ILocalizationService localizationService,
                             ILocalizedEntityService localizedEntityService,
                             ISpecificationAttributeService specificationAttributeService,
                             IPictureService pictureService,
                             ITaxCategoryService taxCategoryService,
                             IProductTagService productTagService,
                             ICopyProductService copyProductService,
                             IPdfService pdfService,
                             IExportManager exportManager,
                             IImportManager importManager,
                             ICustomerActivityService customerActivityService,
                             IPermissionService permissionService,
                             IAclService aclService,
                             IStoreService storeService,
                             IOrderService orderService,
                             IStoreMappingService storeMappingService,
                             IVendorService vendorService,
                             IShippingService shippingService,
                             IShipmentService shipmentService,
                             ICurrencyService currencyService,
                             CurrencySettings currencySettings,
                             IMeasureService measureService,
                             MeasureSettings measureSettings,
                             AdminAreaSettings adminAreaSettings,
                             IDateTimeHelper dateTimeHelper,
                             IDiscountService discountService,
                             IProductAttributeService productAttributeService,
                             IBackInStockSubscriptionService backInStockSubscriptionService,
                             IShoppingCartService shoppingCartService,
                             IProductAttributeFormatter productAttributeFormatter,
                             IProductAttributeParser productAttributeParser,
                             IDownloadService downloadService,
                             IStoreContext storeContext,
                             IRepository <StoreMapping> storeMapping)
 {
     _workContext         = workContext;
     _productService      = productService;
     _pictureService      = pictureService;
     _localizationService = localizationService;
     _categoryService     = categoryService;
     _manufacturerService = manufacturerService;
     _storeService        = storeService;
     _shippingService     = shippingService;
     _vendorService       = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext        = storeContext;
     _storeMapping        = storeMapping;
 }
 public SelectSellController(IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IStoreContext storeContext,
     IRepository<StoreMapping> storeMapping)
 {
     _workContext = workContext;
     _productService = productService;
     _pictureService = pictureService;
     _localizationService = localizationService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _storeService = storeService;
     _shippingService = shippingService;
     _vendorService = vendorService;
     _storeMappingService = storeMappingService;
     _storeContext = storeContext;
     _storeMapping = storeMapping;
 }
 public GameStatisticsController(IGameStatisticsService gameStatisticsService,
                                 IPermissionService permissionService,
                                 IGameStatisticsModelFactory gameStatisticsModelFactory,
                                 IExportManager exportManager)
 {
     this._gameStatisticsService      = gameStatisticsService;
     this._permissionService          = permissionService;
     this._gameStatisticsModelFactory = gameStatisticsModelFactory;
     this._exportManager = exportManager;
 }
Exemplo n.º 30
0
 public OrderReportService(IExportManager exportManager,
                           IAppSettings appSettings,
                           IRepository <OrderDetail> detailRepository,
                           IAppPolicy appPolicy, IResourceManager resourceManager, ILogger logger) : base(appSettings, appPolicy)
 {
     _exportManager    = exportManager;
     _detailRepository = detailRepository;
     _resourceManager  = resourceManager;
     _logger           = logger;
 }
Exemplo n.º 31
0
 public ScheduledXmlEporterConsumingService(IProductService productService, IWorkContext workContext,
                                            ICategoryService categoryService, IExportManager exportManager, ScheduledXmlEporterSettings scheduledXmlEporterSettings, ISettingService settingService)
 {
     _productService              = productService;
     _workContext                 = workContext;
     _categoryService             = categoryService;
     _exportManager               = exportManager;
     _scheduledXmlEporterSettings = scheduledXmlEporterSettings;
     _settingService              = settingService;
 }
Exemplo n.º 32
0
 public LanguageController(ILanguageService languageService, ILocalizationService localizationService,
                           IExportManager exportManager, IImportManager importManager, IPermissionService permissionService,
                           AdminAreaSettings adminAreaSettings)
 {
     this._localizationService = localizationService;
     this._languageService     = languageService;
     this._exportManager       = exportManager;
     this._importManager       = importManager;
     this._permissionService   = permissionService;
     this._adminAreaSettings   = adminAreaSettings;
 }
Exemplo n.º 33
0
 public UserController(IUserService userService, IWorkContext workContext, IResourceManager resourceManager, IWebHelper webHelper,
                       IExportManager exportManager, IAppSettings appSettings, IWarehouseService warehouseService)
 {
     _warehouseService = warehouseService;
     _userService      = userService;
     _workContext      = workContext;
     _resourceManager  = resourceManager;
     _webHelper        = webHelper;
     _exportManager    = exportManager;
     _appSettings      = appSettings;
 }
        public new void SetUp()
        {
            _categoryService = MockRepository.GenerateMock<ICategoryService>();
            _manufacturerService = MockRepository.GenerateMock<IManufacturerService>();
            _productAttributeService = MockRepository.GenerateMock<IProductAttributeService>();
            _pictureService = MockRepository.GenerateMock<IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock<INewsLetterSubscriptionService>();

            _exportManager = new ExportManager(_categoryService,
                _manufacturerService, _productAttributeService, _pictureService, _newsLetterSubscriptionService);
        }
Exemplo n.º 35
0
 public LanguageController(ILanguageService languageService, ILocalizationService localizationService,
     IExportManager exportManager, IImportManager importManager, IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings)
 {
     this._localizationService = localizationService;
     this._languageService = languageService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
        public new void SetUp()
        {
            _categoryService               = MockRepository.GenerateMock <ICategoryService>();
            _manufacturerService           = MockRepository.GenerateMock <IManufacturerService>();
            _productService                = MockRepository.GenerateMock <IProductService>();
            _pictureService                = MockRepository.GenerateMock <IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock <INewsLetterSubscriptionService>();

            _exportManager = new ExportManager(_categoryService,
                                               _manufacturerService, _productService, _pictureService, _newsLetterSubscriptionService);
        }
Exemplo n.º 37
0
 public ImportExportService(
     IImportManager importManager,
     IExportManager exportManager,
     ICacheManager staticCacheManager,
     IUserScoreRepository userScoreRepository)
 {
     _importManager       = importManager;
     _exportManager       = exportManager;
     _redisCacheManager   = staticCacheManager;
     _userScoreRepository = userScoreRepository;
 }
        public new void SetUp()
        {
            _categoryService = MockRepository.GenerateMock<ICategoryService>();
            _manufacturerService = MockRepository.GenerateMock<IManufacturerService>();
            _productService = MockRepository.GenerateMock<IProductService>();
            _pictureService = MockRepository.GenerateMock<IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock<INewsLetterSubscriptionService>();

            _storeInformationSettings = new StoreInformationSettings();
            _exportManager = new ExportManager(_categoryService,
                _manufacturerService, _productService, _pictureService, _newsLetterSubscriptionService, _storeInformationSettings);
        }
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, IWorkContext workContext, ILanguageService languageService,
     ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
     ITaxCategoryService taxCategoryService, IProductTagService productTagService,
     ICopyProductService copyProductService, IPdfService pdfService,
     IExportManager exportManager, IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, IAclService aclService,
     IStoreService storeService, IStoreMappingService storeMappingService,
     IVendorService vendorService,
     ICurrencyService currencyService, CurrencySettings currencySettings,
     IMeasureService measureService, MeasureSettings measureSettings,
     PdfSettings pdfSettings, AdminAreaSettings adminAreaSettings)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._vendorService = vendorService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._adminAreaSettings = adminAreaSettings;
 }
		public NewsLetterSubscriptionController(INewsLetterSubscriptionService newsLetterSubscriptionService,
			IDateTimeHelper dateTimeHelper,
            ILocalizationService localizationService,
            IPermissionService permissionService,
            IStoreService storeService,
            IExportManager exportManager,
            IImportManager importManager)
		{
			this._newsLetterSubscriptionService = newsLetterSubscriptionService;
			this._dateTimeHelper = dateTimeHelper;
            this._localizationService = localizationService;
            this._permissionService = permissionService;
            this._storeService = storeService;
            this._exportManager = exportManager;
            this._importManager = importManager;
		}
        public new void SetUp()
        {
            _categoryService = MockRepository.GenerateMock<ICategoryService>();
            _manufacturerService = MockRepository.GenerateMock<IManufacturerService>();
            _productService = MockRepository.GenerateMock<IProductService>();
			_productTemplateService = MockRepository.GenerateMock<IProductTemplateService>();
            _pictureService = MockRepository.GenerateMock<IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock<INewsLetterSubscriptionService>();
            _languageService = MockRepository.GenerateMock<ILanguageService>();
			_mediaSettings = MockRepository.GenerateMock<MediaSettings>();
			_commonServices = MockRepository.GenerateMock<ICommonServices>();
            _storeMapping = MockRepository.GenerateMock<IStoreMappingService>();

            _exportManager = new ExportManager(_categoryService, _manufacturerService, _productService, _productTemplateService, _pictureService,
                _newsLetterSubscriptionService, _languageService, _mediaSettings, _commonServices, _storeMapping);
        }
 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;
 }
Exemplo n.º 43
0
 public CustomerController(ICustomerService customerService,
     ICustomerReportService customerReportService, IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings, RewardPointsSettings rewardPointsSettings,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IAddressService addressService,
     CustomerSettings customerSettings, ITaxService taxService,
     IWorkContext workContext, IPriceFormatter priceFormatter,
     IOrderService orderService, IExportManager exportManager,
     ICustomerActivityService customerActivityService,
     IPriceCalculationService priceCalculationService,
     IPermissionService permissionService, AdminAreaSettings adminAreaSettings,
     IQueuedEmailService queuedEmailService, EmailAccountSettings emailAccountSettings,
     IEmailAccountService emailAccountService, ForumSettings forumSettings,
     IForumService forumService, IOpenAuthenticationService openAuthenticationService)
 {
     this._customerService = customerService;
     this._customerReportService = customerReportService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._dateTimeSettings = dateTimeSettings;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._customerSettings = customerSettings;
     this._taxService = taxService;
     this._workContext = workContext;
     this._priceFormatter = priceFormatter;
     this._orderService = orderService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._priceCalculationService = priceCalculationService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
     this._queuedEmailService = queuedEmailService;
     this._emailAccountSettings = emailAccountSettings;
     this._emailAccountService = emailAccountService;
     this._forumSettings = forumSettings;
     this._forumService = forumService;
     this._openAuthenticationService = openAuthenticationService;
 }
Exemplo n.º 44
0
 public ReportsController(ILocalizationService localizationService,
     IWorkContext workContext, IDateTimeHelper dateTimeHelper, IWebHelper webHelper,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IPriceFormatter priceFormatter, IAffiliateService affiliateService,
     ICustomerService customerService, IOrderService orderService,
     IPermissionService permissionService, ICustomService customService, IExportManager exportManager)
 {
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._dateTimeHelper = dateTimeHelper;
     this._webHelper = webHelper;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._priceFormatter = priceFormatter;
     this._affiliateService = affiliateService;
     this._customerService = customerService;
     this._orderService = orderService;
     this._permissionService = permissionService;
     this._customService = customService;
     this._exportManager = exportManager;
 }
Exemplo n.º 45
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,
     IExportManager exportManager,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper,
     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._exportManager = exportManager;
     this._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     this._catalogSettings = catalogSettings;
 }
Exemplo n.º 46
0
        public VendorController(ICategoryService categoryService, IVendorService vendorService,
            IVendorTemplateService vendorTemplateService, IProductService productService,
            IUrlRecordService urlRecordService, IPictureService pictureService,
            ILanguageService languageService, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IExportManager exportManager, IWorkContext workContext,
            ICustomerActivityService customerActivityService, IAclService aclService, IPermissionService permissionService,
            AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings,
            ICustomerService customerService, CustomerSettings customerSettings
            , IBranchService branchService
            , ICountryService countryService, IStateProvinceService stateProvinceService)
        {
            this._categoryService = categoryService;
            this._vendorTemplateService = vendorTemplateService;
            this._vendorService = vendorService;
            this._productService = productService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._localizedEntityService = localizedEntityService;
            this._exportManager = exportManager;
            this._workContext = workContext;
            this._customerActivityService = customerActivityService;
            this._aclService = aclService;
            this._permissionService = permissionService;
            this._adminAreaSettings = adminAreaSettings;
            this._catalogSettings = catalogSettings;
            this._customerService = customerService;
            this._customerSettings = customerSettings;

            this._branchService = branchService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;

            customerVendorId = _vendorService.GetVendorIdByCustomerId(_workContext.CurrentCustomer.Id);//add by hz
        }
 public CataloguesController(ICataloguesService cataloguesService,
   INewsService newsService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService, 
     ILanguageService languageService,
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     IDiscountService discountService,
     IPermissionService permissionService,
     IAclService aclService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager, 
     IVendorService vendorService, 
     ICustomerActivityService customerActivityService,
     CataloguesSettings cataloguesSettings)
 {
     this._cataloguesService = cataloguesService;
     this._newsService = newsService;
     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._vendorService = vendorService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._cataloguesSettings = cataloguesSettings;
 }
Exemplo n.º 48
0
        public OrderController(IOrderService orderService, 
            IOrderReportService orderReportService, IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter, ILocalizationService localizationService,
            IWorkContext workContext, ICurrencyService currencyService,
            IEncryptionService encryptionService, IPaymentService paymentService,
            IMeasureService measureService, IPdfService pdfService,
            IAddressService addressService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IProductService productService,
            IExportManager exportManager, IPermissionService permissionService,
            CurrencySettings currencySettings, TaxSettings taxSettings,
            MeasureSettings measureSettings, PdfSettings pdfSettings)
        {
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._pdfService = pdfService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;

            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._pdfSettings = pdfSettings;
        }
Exemplo n.º 49
0
        public new void SetUp()
        {
            _storeService = MockRepository.GenerateMock<IStoreService>();
            _categoryService = MockRepository.GenerateMock<ICategoryService>();
            _manufacturerService = MockRepository.GenerateMock<IManufacturerService>();
            _productAttributeService = MockRepository.GenerateMock<IProductAttributeService>();
            _pictureService = MockRepository.GenerateMock<IPictureService>();
            _newsLetterSubscriptionService = MockRepository.GenerateMock<INewsLetterSubscriptionService>();
            _productEditorSettings = new ProductEditorSettings();
            _workContext = MockRepository.GenerateMock<IWorkContext>();
            _vendorService = MockRepository.GenerateMock<IVendorService>();
            _productTemplateService = MockRepository.GenerateMock<IProductTemplateService>();
            _shippingService = MockRepository.GenerateMock<IShippingService>();
            _taxCategoryService = MockRepository.GenerateMock<ITaxCategoryService>();
            _measureService = MockRepository.GenerateMock<IMeasureService>();
            _catalogSettings=new CatalogSettings();

            _exportManager = new ExportManager(_categoryService,
                _manufacturerService, _productAttributeService, 
                _pictureService, _newsLetterSubscriptionService,
                _storeService, _workContext, _productEditorSettings, 
                _vendorService, _productTemplateService, _shippingService,
                _taxCategoryService, _measureService, _catalogSettings);
        }
Exemplo n.º 50
0
        public OrderController(IOrderService orderService, 
            IOrderReportService orderReportService, IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter, ILocalizationService localizationService,
            IWorkContext workContext, ICurrencyService currencyService,
            IEncryptionService encryptionService, IPaymentService paymentService,
            IMeasureService measureService,
            IAddressService addressService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IProductService productService,
            IExportManager exportManager, IPermissionService permissionService,
            IWorkflowMessageService workflowMessageService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
            IProductAttributeFormatter productAttributeFormatter, IShoppingCartService shoppingCartService,
            ICheckoutAttributeFormatter checkoutAttributeFormatter, 
            IGiftCardService giftCardService, IDownloadService downloadService,
			IShipmentService shipmentService, IStoreService storeService,
			ITaxService taxService,
			IPriceCalculationService priceCalculationService,
			IEventPublisher eventPublisher,
			ICustomerService customerService,
			PluginMediator pluginMediator,
			IAffiliateService affiliateService,
            CatalogSettings catalogSettings, CurrencySettings currencySettings, TaxSettings taxSettings,
            MeasureSettings measureSettings, PdfSettings pdfSettings, AddressSettings addressSettings,
            IPdfConverter pdfConverter, ICommonServices services, Lazy<IPictureService> pictureService)
        {
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;
            this._workflowMessageService = workflowMessageService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._shoppingCartService = shoppingCartService;
            this._giftCardService = giftCardService;
            this._downloadService = downloadService;
            this._shipmentService = shipmentService;
            this._storeService = storeService;
            this._taxService = taxService;
            this._priceCalculationService = priceCalculationService;
            this._eventPublisher = eventPublisher;
            this._customerService = customerService;
            this._pluginMediator = pluginMediator;
            this._affiliateService = affiliateService;

            this._catalogSettings = catalogSettings;
            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._pdfSettings = pdfSettings;
            this._addressSettings = addressSettings;

            this._checkoutAttributeFormatter = checkoutAttributeFormatter;
            _pdfConverter = pdfConverter;
            _services = services;
            _pictureService = pictureService;
        }
 public GroupDealsController(
     IProductService productService,
     IProductTemplateService productTemplateService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService,
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService,
     IProductTagService productTagService,
     ICopyProductService copyProductService,
     IPdfService pdfService,
     IExportManager exportManager,
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService,
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
     IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService,
     IRepository<GroupDeal> groupDealRepo,
     IRepository<GroupdealPicture> groupdealPictureRepo,
     IGroupDealService groupdealService,
     IGenericAttributeService genericAttributeService)
     : base(productService,
     productTemplateService,
     categoryService,
     manufacturerService,
     customerService,
     urlRecordService,
     workContext,
     languageService,
     localizationService,
     localizedEntityService,
     specificationAttributeService,
     pictureService,
     taxCategoryService,
     productTagService,
     copyProductService,
     pdfService,
     exportManager,
     importManager,
     customerActivityService,
     permissionService,
     aclService,
     storeService,
     orderService,
     storeMappingService,
     vendorService,
     shippingService,
     shipmentService,
     currencyService,
     currencySettings,
     measureService,
     measureSettings,
     adminAreaSettings,
     dateTimeHelper,
     discountService,
     productAttributeService,
     backInStockSubscriptionService,
     shoppingCartService,
     productAttributeFormatter,
     productAttributeParser,
     downloadService,
     groupDealRepo,
     groupdealPictureRepo,
     groupdealService,
     genericAttributeService)
 { }
Exemplo n.º 52
0
        public OrderController(IOrderService orderService, 
            IOrderReportService orderReportService, IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter, ILocalizationService localizationService,
            IWorkContext workContext, ICurrencyService currencyService,
            IEncryptionService encryptionService, IPaymentService paymentService,
            IMeasureService measureService, IPdfService pdfService,
            IAddressService addressService, ICountryService countryService,
            IStateProvinceService stateProvinceService, IProductService productService,
            IExportManager exportManager, IPermissionService permissionService,
            IWorkflowMessageService workflowMessageService,
            ICategoryService categoryService, IManufacturerService manufacturerService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
            IProductAttributeFormatter productAttributeFormatter, IShoppingCartService shoppingCartService,
            IGiftCardService giftCardService, IDownloadService downloadService,
            IShipmentService shipmentService,
            CatalogSettings catalogSettings, CurrencySettings currencySettings, TaxSettings taxSettings,
            MeasureSettings measureSettings, PdfSettings pdfSettings, AddressSettings addressSettings)
        {
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._pdfService = pdfService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;
            this._workflowMessageService = workflowMessageService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._shoppingCartService = shoppingCartService;
            this._giftCardService = giftCardService;
            this._downloadService = downloadService;
            this._shipmentService = shipmentService;

            this._catalogSettings = catalogSettings;
            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._pdfSettings = pdfSettings;
            this._addressSettings = addressSettings;
        }
Exemplo n.º 53
0
        public InvoicesController(IOrderService orderService,
            IOrderReportService orderReportService,
            IOrderProcessingService orderProcessingService,
            IPriceCalculationService priceCalculationService,
            IDateTimeHelper dateTimeHelper,
            IPriceFormatter priceFormatter,
            IDiscountService discountService,
            ILocalizationService localizationService,
            IWorkContext workContext,
            ICurrencyService currencyService,
            IEncryptionService encryptionService,
            IPaymentService paymentService,
            IMeasureService measureService,
            IPdfService pdfService,
            IAddressService addressService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            Nop.Services.Catalog.IProductService productService,
            IExportManager exportManager,
            IPermissionService permissionService,
            IWorkflowMessageService workflowMessageService,
            ICategoryService categoryService,
            IManufacturerService manufacturerService,
            IProductAttributeService productAttributeService,
            IProductAttributeParser productAttributeParser,
            IProductAttributeFormatter productAttributeFormatter,
            IShoppingCartService shoppingCartService,
            IGiftCardService giftCardService,
            IDownloadService downloadService,
            IShipmentService shipmentService,
            IShippingService shippingService,
            IStoreService storeService,
            IVendorService vendorService,
            IAddressAttributeParser addressAttributeParser,
            IAddressAttributeService addressAttributeService,
            IAddressAttributeFormatter addressAttributeFormatter,
            IAffiliateService affiliateService,
            IPictureService pictureService,
            CurrencySettings currencySettings,
            TaxSettings taxSettings,
            MeasureSettings measureSettings,
            AddressSettings addressSettings,
            ShippingSettings shippingSettings,
            IInvoiceService invoiceService,
            IGenericAttributeService genericAttributeService,
            IProductTemplateService productTemplateService,
            IStoreContext storeContext,
            ISettingService settingService,
            IGroupDealService groupDealService)
        {
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._priceCalculationService = priceCalculationService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._discountService = discountService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._pdfService = pdfService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;
            this._workflowMessageService = workflowMessageService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._shoppingCartService = shoppingCartService;
            this._giftCardService = giftCardService;
            this._downloadService = downloadService;
            this._shipmentService = shipmentService;
            this._shippingService = shippingService;
            this._storeService = storeService;
            this._vendorService = vendorService;
            this._addressAttributeParser = addressAttributeParser;
            this._addressAttributeService = addressAttributeService;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._affiliateService = affiliateService;
            this._pictureService = pictureService;

            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._addressSettings = addressSettings;
            this._shippingSettings = shippingSettings;
            this._invoiceService = invoiceService;
            this._genericAttributeService = genericAttributeService;
            this._productTemplateService = productTemplateService;
            this._storeContext = storeContext;
            this._settingService = settingService;
            this._groupDealService = groupDealService;
        }
Exemplo n.º 54
0
 public ProductController(IProductService productService, 
     IProductTemplateService productTemplateService,
     ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IWorkContext workContext, 
     ILanguageService languageService, 
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     ISpecificationAttributeService specificationAttributeService, 
     IPictureService pictureService,
     ITaxCategoryService taxCategoryService, 
     IProductTagService productTagService,
     ICopyProductService copyProductService, 
     IPdfService pdfService,
     IExportManager exportManager, 
     IImportManager importManager,
     ICustomerActivityService customerActivityService,
     IPermissionService permissionService, 
     IAclService aclService,
     IStoreService storeService,
     IOrderService orderService,
     IStoreMappingService storeMappingService,
      IVendorService vendorService,
     IShippingService shippingService,
     IShipmentService shipmentService,
     ICurrencyService currencyService, 
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IDownloadService downloadService)
 {
     this._productService = productService;
     this._productTemplateService = productTemplateService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._workContext = workContext;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._specificationAttributeService = specificationAttributeService;
     this._pictureService = pictureService;
     this._taxCategoryService = taxCategoryService;
     this._productTagService = productTagService;
     this._copyProductService = copyProductService;
     this._pdfService = pdfService;
     this._exportManager = exportManager;
     this._importManager = importManager;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._orderService = orderService;
     this._storeMappingService = storeMappingService;
     this._vendorService = vendorService;
     this._shippingService = shippingService;
     this._shipmentService = shipmentService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._adminAreaSettings = adminAreaSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._discountService = discountService;
     this._productAttributeService = productAttributeService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._shoppingCartService = shoppingCartService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._productAttributeParser = productAttributeParser;
     this._downloadService = downloadService;
 }
Exemplo n.º 55
0
 private void Init()
 {
     this.InitMenuItemOperations();
     this.InitNodeOperations();
     this.m_SubSysInterface = new OtherSubSysInterface();
     this.m_UserInfo = new UserInformationInMap(this.m_SubSysInterface, this.m_AppContext);
     this.m_SimGroupManager = new SimGroupManager(this.m_SubSysInterface);
     this.m_ExportManager = new ExportManager(this.m_AppContext, this.m_SimGroupManager, this.m_SubSysInterface);
 }
Exemplo n.º 56
0
 public CustomerController(ICustomerService customerService,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IGenericAttributeService genericAttributeService,
     ICustomerRegistrationService customerRegistrationService,
     ICustomerReportService customerReportService, 
     IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, 
     DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings, 
     RewardPointsSettings rewardPointsSettings,
     ICountryService countryService, 
     IStateProvinceService stateProvinceService, 
     IAddressService addressService,
     CustomerSettings customerSettings,
     ITaxService taxService, 
     IWorkContext workContext,
     IVendorService vendorService,
     IStoreContext storeContext,
     IPriceFormatter priceFormatter,
     IOrderService orderService, 
     IExportManager exportManager,
     ICustomerActivityService customerActivityService,
     IPriceCalculationService priceCalculationService,
     IPermissionService permissionService, 
     IQueuedEmailService queuedEmailService,
     EmailAccountSettings emailAccountSettings,
     IEmailAccountService emailAccountService, 
     ForumSettings forumSettings,
     IForumService forumService, 
     IOpenAuthenticationService openAuthenticationService,
     AddressSettings addressSettings,
     IStoreService storeService,
     ICustomerAttributeParser customerAttributeParser,
     ICustomerAttributeService customerAttributeService,
     IAddressAttributeParser addressAttributeParser,
     IAddressAttributeService addressAttributeService,
     IAddressAttributeFormatter addressAttributeFormatter)
 {
     this._customerService = customerService;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._genericAttributeService = genericAttributeService;
     this._customerRegistrationService = customerRegistrationService;
     this._customerReportService = customerReportService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._dateTimeSettings = dateTimeSettings;
     this._taxSettings = taxSettings;
     this._rewardPointsSettings = rewardPointsSettings;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._customerSettings = customerSettings;
     this._taxService = taxService;
     this._workContext = workContext;
     this._vendorService = vendorService;
     this._storeContext = storeContext;
     this._priceFormatter = priceFormatter;
     this._orderService = orderService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._priceCalculationService = priceCalculationService;
     this._permissionService = permissionService;
     this._queuedEmailService = queuedEmailService;
     this._emailAccountSettings = emailAccountSettings;
     this._emailAccountService = emailAccountService;
     this._forumSettings = forumSettings;
     this._forumService = forumService;
     this._openAuthenticationService = openAuthenticationService;
     this._addressSettings = addressSettings;
     this._storeService = storeService;
     this._customerAttributeParser = customerAttributeParser;
     this._customerAttributeService = customerAttributeService;
     this._addressAttributeParser = addressAttributeParser;
     this._addressAttributeService = addressAttributeService;
     this._addressAttributeFormatter = addressAttributeFormatter;
 }
Exemplo n.º 57
0
        public OrderController(IOrderService orderService, 
            IOrderReportService orderReportService, 
            IOrderProcessingService orderProcessingService,
            IReturnRequestService returnRequestService,
            IPriceCalculationService priceCalculationService,
            ITaxService taxService,
            IDateTimeHelper dateTimeHelper,
            IPriceFormatter priceFormatter,
            IDiscountService discountService,
            ILocalizationService localizationService,
            IWorkContext workContext,
            ICurrencyService currencyService,
            IEncryptionService encryptionService,
            IPaymentService paymentService,
            IMeasureService measureService,
            IPdfService pdfService,
            IAddressService addressService,
            ICountryService countryService,
            IStateProvinceService stateProvinceService,
            IProductService productService,
            IExportManager exportManager,
            IPermissionService permissionService,
            IWorkflowMessageService workflowMessageService,
            ICategoryService categoryService, 
            IManufacturerService manufacturerService,
            IProductAttributeService productAttributeService, 
            IProductAttributeParser productAttributeParser,
            IProductAttributeFormatter productAttributeFormatter, 
            IShoppingCartService shoppingCartService,
            IGiftCardService giftCardService, 
            IDownloadService downloadService,
            IShipmentService shipmentService, 
            IShippingService shippingService,
            IStoreService storeService,
            IVendorService vendorService,
            IAddressAttributeParser addressAttributeParser,
            IAddressAttributeService addressAttributeService,
            IAddressAttributeFormatter addressAttributeFormatter,
            IAffiliateService affiliateService,
            IPictureService pictureService,
            ICustomerActivityService customerActivityService,
            ICacheManager cacheManager,
            OrderSettings orderSettings,
            CurrencySettings currencySettings, 
            TaxSettings taxSettings,
            MeasureSettings measureSettings,
            AddressSettings addressSettings,
            ShippingSettings shippingSettings)
		{
            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderProcessingService = orderProcessingService;
            this._returnRequestService = returnRequestService;
            this._priceCalculationService = priceCalculationService;
            this._taxService = taxService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._discountService = discountService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._encryptionService = encryptionService;
            this._paymentService = paymentService;
            this._measureService = measureService;
            this._pdfService = pdfService;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._productService = productService;
            this._exportManager = exportManager;
            this._permissionService = permissionService;
            this._workflowMessageService = workflowMessageService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
            this._productAttributeFormatter = productAttributeFormatter;
            this._shoppingCartService = shoppingCartService;
            this._giftCardService = giftCardService;
            this._downloadService = downloadService;
            this._shipmentService = shipmentService;
            this._shippingService = shippingService;
            this._storeService = storeService;
            this._vendorService = vendorService;
            this._addressAttributeParser = addressAttributeParser;
            this._addressAttributeService = addressAttributeService;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._affiliateService = affiliateService;
            this._pictureService = pictureService;
            this._customerActivityService = customerActivityService;
            this._cacheManager = cacheManager;
            this._orderSettings = orderSettings;
            this._currencySettings = currencySettings;
            this._taxSettings = taxSettings;
            this._measureSettings = measureSettings;
            this._addressSettings = addressSettings;
            this._shippingSettings = shippingSettings;
		}