コード例 #1
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>();
            _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);
        }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: onurh/AF452
 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");
 }
コード例 #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;
 }
コード例 #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);
        }
コード例 #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;
 }
コード例 #6
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;
 }
コード例 #7
0
ファイル: CountryController.cs プロジェクト: VinasTT/ltb
        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
        }
コード例 #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;
 }
コード例 #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;
 }
コード例 #10
0
 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;
 }
コード例 #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;
        }
コード例 #12
0
ファイル: ProductController.cs プロジェクト: pquic/qCommerce
 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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #15
0
ファイル: ExportManagerTests.cs プロジェクト: VinasTT/ltb
 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
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #18
0
ファイル: TableController.cs プロジェクト: xuanhnvt/nopXrms
        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;
        }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #23
0
 public IExportManager GetExportManager()
 {
     if (_export == null)
     {
         _export = new ExportManager(_http);
     }
     return(_export);
 }
コード例 #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);
        }
コード例 #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;
 }
コード例 #26
0
        public OutStandingDocsController()
        {
            //bizrule = new DQQueBiz();
            _dqQueService     = new CustomService();
            _exportManager    = new ExportManager();
            _messagingService = new MessagingService();

            _permissionservice = new PermissionsService();
        }
コード例 #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;
 }
コード例 #28
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;
 }
コード例 #29
0
 public GameStatisticsController(IGameStatisticsService gameStatisticsService,
                                 IPermissionService permissionService,
                                 IGameStatisticsModelFactory gameStatisticsModelFactory,
                                 IExportManager exportManager)
 {
     this._gameStatisticsService      = gameStatisticsService;
     this._permissionService          = permissionService;
     this._gameStatisticsModelFactory = gameStatisticsModelFactory;
     this._exportManager = exportManager;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #34
0
        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);
        }
コード例 #35
0
ファイル: LanguageController.cs プロジェクト: CCSW/desnivell
 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;
 }
コード例 #36
0
        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);
        }
コード例 #37
0
 public ImportExportService(
     IImportManager importManager,
     IExportManager exportManager,
     ICacheManager staticCacheManager,
     IUserScoreRepository userScoreRepository)
 {
     _importManager       = importManager;
     _exportManager       = exportManager;
     _redisCacheManager   = staticCacheManager;
     _userScoreRepository = userScoreRepository;
 }
コード例 #38
0
        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);
        }
コード例 #39
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, 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;
 }
コード例 #40
0
		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;
		}
コード例 #41
0
        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);
        }
コード例 #42
0
 public ManufacturerController(ICategoryService categoryService, 
     IManufacturerService manufacturerService,
     IManufacturerTemplateService manufacturerTemplateService,
     IProductService productService,
     ICustomerService customerService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService,
     ILanguageService languageService, 
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService, 
     IExportManager exportManager,
     IDiscountService discountService,
     ICustomerActivityService customerActivityService, 
     IVendorService vendorService,
     IAclService aclService,
     IPermissionService permissionService,
     CatalogSettings catalogSettings,
     IWorkContext workContext,
     IImportManager importManager, 
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerTemplateService = manufacturerTemplateService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._customerService = customerService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._exportManager = exportManager;
     this._discountService = discountService;
     this._customerActivityService = customerActivityService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._permissionService = permissionService;
     this._catalogSettings = catalogSettings;
     this._workContext = workContext;
     this._importManager = importManager;
     this._cacheManager = cacheManager;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #46
0
ファイル: VendorController.cs プロジェクト: priceLiu/MulitNop
        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
        }
コード例 #47
0
 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;
 }
コード例 #48
0
ファイル: OrderController.cs プロジェクト: cmcginn/StoreFront
        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;
        }
コード例 #49
0
ファイル: ExportManagerTests.cs プロジェクト: nvolpe/raver
        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);
        }
コード例 #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;
        }
コード例 #51
0
 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)
 { }
コード例 #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;
        }
コード例 #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;
        }
コード例 #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;
 }
コード例 #55
0
ファイル: SimulationSubSys.cs プロジェクト: xiaoyj/Space
 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);
 }
コード例 #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;
 }
コード例 #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;
		}