Ejemplo n.º 1
0
 public ContentController(Func<string, IContentBlobStorageProvider> contentStorageProviderFactory, IBlobUrlResolver urlResolver, ISecurityService securityService, IPermissionScopeService permissionScopeService, IStoreService storeService)
     : base(securityService, permissionScopeService)
 {
     _storeService = storeService;
     _contentStorageProviderFactory = contentStorageProviderFactory;
     _urlResolver = urlResolver;
 }
Ejemplo n.º 2
0
        public WorldRecordingContext(ILongTimeAbsenceService longabsenceService,
            IAbsenceService absenceService,
            IWorkingModelService wmManager,
            IColouringService colorManager,
            IEmployeeService emplService,
            IStoreService storeService,
            IWorkingTimePlanningService workingTimePlanningService,
            IAbsenceTimePlanningService absenceTimePlanningService,
            IWorkingTimeRecordingService workingTimeRecordingService,
            IAbsenceTimeRecordingService absenceTimeRecordingService
            )
        {
            _EmployeeService = emplService;
            _StoreService = storeService;
            _WorkingTimePlanningService = workingTimePlanningService;
            _AbsenceTimePlanningService = absenceTimePlanningService;

            _WorkingTimeRecordingService = workingTimeRecordingService;
            _AbsenceTimeRecordingService = absenceTimeRecordingService;

            m_countryabsences = new AbsenceManager(absenceService);
            m_longabsences = new LongTimeAbsenceManager(longabsenceService);
            m_workingmodelmanager = new WorkingModelManagerNew(wmManager);
            m_colormanager = new CountryColorManager(colorManager);

            _ViewDate = DateTime.Today;
            _BeginWeekDate = DateTimeHelper.GetMonday(DateTime.Today);
            _EndWeekDate = DateTimeHelper.GetSunday(DateTime.Today);
            _ViewDate = DateTime.Today;
        }
Ejemplo n.º 3
0
 public DispatchController(IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService,
     IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService,
     IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService,
     IProgramService programService, ITransporterService transporterService, IPeriodService periodService, 
     ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService,
     IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService,
     IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService, 
     ISMSGatewayService smsGatewayService, IContactService contactService, ISMSService smsService)
     : base(userProfileService)
 {
     _dispatchAllocationService = dispatchAllocationService;
     _dispatchService = dispatchService;
     _userProfileService = userProfileService;
     _otherDispatchAllocationService = otherDispatchAllocationService;
     _dispatchDetailService = dispatchDetailService;
     _unitService = unitService;
     _commodityTypeService = commodityTypeService;
     _programService = programService;
     _transporterService = transporterService;
     _periodService = periodService;
     _commodityService = commodityService;
     _transactionService = transactionService;
     _storeService = storeService;
     _adminUnitService = adminUnitService;
     _hubService = hubService;
     _fdpService = fdpService;
     _projectCodeService = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
     _smsGatewayService = smsGatewayService;
     _contactService = contactService;
     _smsService = smsService;
 }
 public DiscountRulesStoreController(ILocalizationService localizationService,
      IDiscountService discountService, IStoreService storeService)
  {
      this._localizationService = localizationService;
      this._discountService = discountService;
      this._storeService = storeService;
  }
Ejemplo n.º 5
0
 public LossesAndAdjustmentsController(IUserProfileService userProfileService,
                                         ICommodityService commodityService,
                                         IStoreService storeService,
                                         IProgramService programService,
                                         IHubService hubService,
                                         IUnitService unitService,
                                         IAdjustmentReasonService adjustmentReasonService,
                                         IAdjustmentService adjustmentService,
                                         ITransactionService transactionService,
                                         IProjectCodeService projectCodeService,
                                         IShippingInstructionService shippingInstructionService)
     : base(userProfileService)
 {
     _userProfileService = userProfileService;
     _commodityService = commodityService;
     _storeService = storeService;
     _programService = programService;
     _hubService = hubService;
     _unitService = unitService;
     _adjustmentReasonService = adjustmentReasonService;
     _adjustmentService = adjustmentService;
     _TransactionService = transactionService;
     _projectCodeService = projectCodeService;
     _shippingInstructionService = shippingInstructionService;
 }
        public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
            IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
			IStoreService storeService,	IStoreMappingService storeMappingService,
            IUrlRecordService urlRecordService, IPictureService pictureService,
            ILanguageService languageService, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IWorkContext workContext,
            ICustomerActivityService customerActivityService, IPermissionService permissionService,
			IDateTimeHelper dateTimeHelper,
            AdminAreaSettings adminAreaSettings,
			CatalogSettings catalogSettings)
        {
            this._categoryService = categoryService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._storeService = storeService;
            this._storeMappingService = storeMappingService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._localizedEntityService = localizedEntityService;
            this._workContext = workContext;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._dateTimeHelper = dateTimeHelper;
            this._adminAreaSettings = adminAreaSettings;
            this._catalogSettings = catalogSettings;
        }
Ejemplo n.º 7
0
        public PluginController(IPluginFinder pluginFinder,
            IOfficialFeedManager officialFeedManager,
            ILocalizationService localizationService,
            IWebHelper webHelper,
            IPermissionService permissionService, 
            ILanguageService languageService,
            ISettingService settingService, 
            IStoreService storeService,
            PaymentSettings paymentSettings,
            ShippingSettings shippingSettings,
            TaxSettings taxSettings, 
            ExternalAuthenticationSettings externalAuthenticationSettings, 
            WidgetSettings widgetSettings)
		{
            this._pluginFinder = pluginFinder;
            this._officialFeedManager = officialFeedManager;
            this._localizationService = localizationService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._languageService = languageService;
            this._settingService = settingService;
            this._storeService = storeService;
            this._paymentSettings = paymentSettings;
            this._shippingSettings = shippingSettings;
            this._taxSettings = taxSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
            this._widgetSettings = widgetSettings;
		}
 public PaymentPayPalStandardController(IWorkContext workContext,
     IStoreService storeService, 
     ISettingService settingService, 
     IPaymentService paymentService, 
     IOrderService orderService, 
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IStoreContext storeContext,
     ILogger logger, 
     IWebHelper webHelper,
     PaymentSettings paymentSettings,
     PayPalStandardPaymentSettings payPalStandardPaymentSettings)
 {
     this._workContext = workContext;
     this._storeService = storeService;
     this._settingService = settingService;
     this._paymentService = paymentService;
     this._orderService = orderService;
     this._orderProcessingService = orderProcessingService;
     this._localizationService = localizationService;
     this._storeContext = storeContext;
     this._logger = logger;
     this._webHelper = webHelper;
     this._paymentSettings = paymentSettings;
     this._payPalStandardPaymentSettings = payPalStandardPaymentSettings;
 }
 public CommerceController(ICommerceService commerceService, ICustomerOrderService customerOrderService, IStoreService storeService, ISeoDuplicatesDetector seoDuplicateDetector)
 {
     _commerceService = commerceService;
     _customerOrderService = customerOrderService;
     _storeService = storeService;
     _seoDuplicateDetector = seoDuplicateDetector;
 }
Ejemplo n.º 10
0
        public WebWorkContext(Func<string, ICacheManager> cacheManager,
            HttpContextBase httpContext,
            ICustomerService customerService,
			IStoreContext storeContext,
            IAuthenticationService authenticationService,
            ILanguageService languageService,
            ICurrencyService currencyService,
			IGenericAttributeService attrService,
            TaxSettings taxSettings, CurrencySettings currencySettings,
            LocalizationSettings localizationSettings, Lazy<ITaxService> taxService,
            IStoreService storeService, ISettingService settingService,
			IUserAgent userAgent)
        {
            this._cacheManager = cacheManager("static");
            this._httpContext = httpContext;
            this._customerService = customerService;
            this._storeContext = storeContext;
            this._authenticationService = authenticationService;
            this._languageService = languageService;
            this._attrService = attrService;
            this._currencyService = currencyService;
            this._taxSettings = taxSettings;
            this._taxService = taxService;
            this._currencySettings = currencySettings;
            this._localizationSettings = localizationSettings;
            this._storeService = storeService;
            this._settingService = settingService;
            this._userAgent = userAgent;
        }
        public PayPalExpressController(
			IPaymentService paymentService, IOrderService orderService,
			IOrderProcessingService orderProcessingService,
			ILogger logger, 
			PaymentSettings paymentSettings, ILocalizationService localizationService,
			OrderSettings orderSettings,
			ICurrencyService currencyService, CurrencySettings currencySettings,
			IOrderTotalCalculationService orderTotalCalculationService, ICustomerService customerService,
			IGenericAttributeService genericAttributeService,
            IComponentContext ctx, ICommonServices services,
            IStoreService storeService)
        {
            _paymentService = paymentService;
            _orderService = orderService;
            _orderProcessingService = orderProcessingService;
            _logger = logger;
            _paymentSettings = paymentSettings;
            _localizationService = localizationService;
            _orderSettings = orderSettings;
            _currencyService = currencyService;
            _currencySettings = currencySettings;
            _orderTotalCalculationService = orderTotalCalculationService;
            _customerService = customerService;
            _genericAttributeService = genericAttributeService;
            _services = services;
            _storeService = storeService;

            _helper = new PluginHelper(ctx, "SmartStore.PayPal", "Plugins.Payments.PayPalExpress");

            T = NullLocalizer.Instance;
        }
 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;
 }
Ejemplo n.º 13
0
 public TopicController(ITopicService topicService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService, 
     ILocalizationService localizationService,
     IPermissionService permissionService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IUrlRecordService urlRecordService,
     ITopicTemplateService topicTemplateService,
     ICustomerService customerService,
     ICustomerActivityService customerActivityService,
     IAclService aclService)
 {
     this._topicService = topicService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._urlRecordService = urlRecordService;
     this._topicTemplateService = topicTemplateService;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._aclService = aclService;
 }
Ejemplo n.º 14
0
        public WorkflowMessageService(
			IMessageTemplateService messageTemplateService,
            IQueuedEmailService queuedEmailService, 
			ILanguageService languageService,
            ITokenizer tokenizer, 
			IEmailAccountService emailAccountService,
            IMessageTokenProvider messageTokenProvider,
			IStoreService storeService,
			IStoreContext storeContext,
            EmailAccountSettings emailAccountSettings,
            IEventPublisher eventPublisher,
            IWorkContext workContext,
            HttpRequestBase httpRequest,
			IDownloadService downloadServioce)
        {
            this._messageTemplateService = messageTemplateService;
            this._queuedEmailService = queuedEmailService;
            this._languageService = languageService;
            this._tokenizer = tokenizer;
            this._emailAccountService = emailAccountService;
            this._messageTokenProvider = messageTokenProvider;
            this._storeService = storeService;
            this._storeContext = storeContext;
            this._emailAccountSettings = emailAccountSettings;
            this._eventPublisher = eventPublisher;
            this._workContext = workContext;
            this._httpRequest = httpRequest;
            this._downloadServioce = downloadServioce;
        }
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="cacheManager">Cache manager</param>
        /// <param name="categoryRepository">Category repository</param>
        /// <param name="productCategoryRepository">ProductCategory repository</param>
        /// <param name="productRepository">Product repository</param>
        /// <param name="aclRepository">ACL record repository</param>
		/// <param name="storeMappingRepository">Store mapping repository</param>
        /// <param name="workContext">Work context</param>
		/// <param name="storeContext">Store context</param>
        /// <param name="eventPublisher">Event publisher</param>
        public CategoryService(ICacheManager cacheManager,
            IRepository<Category> categoryRepository,
            IRepository<ProductCategory> productCategoryRepository,
            IRepository<Product> productRepository,
            IRepository<AclRecord> aclRepository,
			IRepository<StoreMapping> storeMappingRepository,
            IWorkContext workContext,
			IStoreContext storeContext,
            IEventPublisher eventPublisher,
			IStoreMappingService storeMappingService,
			IAclService aclService,
            Lazy<IEnumerable<ICategoryNavigationFilter>> navigationFilters,
            ICustomerService customerService,
            IProductService productService,
            IStoreService storeService)
        {
            this._cacheManager = cacheManager;
            this._categoryRepository = categoryRepository;
            this._productCategoryRepository = productCategoryRepository;
            this._productRepository = productRepository;
            this._aclRepository = aclRepository;
			this._storeMappingRepository = storeMappingRepository;
            this._workContext = workContext;
			this._storeContext = storeContext;
            this._eventPublisher = eventPublisher;
			this._storeMappingService = storeMappingService;
			this._aclService = aclService;
            this._navigationFilters = navigationFilters;
            this._customerService = customerService;
            this._productService = productService;
            this._storeService = storeService;

			this.QuerySettings = DbQuerySettings.Default;
        }
Ejemplo n.º 16
0
 public PromoController(
     IPromoUtilities promoUtilities,
     IPriceFormatter priceFormatter,
     IWorkContext workContext,
     PromoSettings promoSettings,
     IProductMappingService productMappingService,
     IProductPromoMappingService productPromoMappingService,
     IPromoDetailService promoDetailService,
     IStoreService storeService,
     IStoreContext storeContext,
     IAttributeValueService attributeValueService,
     ICurrencyService currencyService,
     IPromoPictureService promoPictureService,
     IPictureService pictureService,
     IProductService productService,
     ILocalizationService localizationService)
 {
     this._promoUtilities = promoUtilities;
     this._priceFormatter = priceFormatter;
     this._workContext = workContext;
     this._productMappingService = productMappingService;
     this._productPromoMappingService = productPromoMappingService;
     this._promoDetailService = promoDetailService;
     this._promoSettings = promoSettings;
     this._storeService = storeService;
     this._storeContext = storeContext;
     this._attributeValueService = attributeValueService;
     this._currencyService = currencyService;
     this._promoPictureService = promoPictureService;
     this._pictureService = pictureService;
     this._productService = productService;
     this._localizationService = localizationService;
 }
 public SettingController(ISettingService settingService,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IAddressService addressService, ITaxCategoryService taxCategoryService,
     ICurrencyService currencyService, IPictureService pictureService, 
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IOrderService orderService, IEncryptionService encryptionService,
     IThemeProvider themeProvider, ICustomerService customerService, 
     ICustomerActivityService customerActivityService, IPermissionService permissionService,
     IWebHelper webHelper, IFulltextService fulltextService, 
     IMaintenanceService maintenanceService, IStoreService storeService,
     IWorkContext workContext, IGenericAttributeService genericAttributeService)
 {
     this._settingService = settingService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._taxCategoryService = taxCategoryService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._orderService = orderService;
     this._encryptionService = encryptionService;
     this._themeProvider = themeProvider;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._webHelper = webHelper;
     this._fulltextService = fulltextService;
     this._maintenanceService = maintenanceService;
     this._storeService = storeService;
     this._workContext = workContext;
     this._genericAttributeService = genericAttributeService;
 }
Ejemplo n.º 18
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;
 }
Ejemplo n.º 19
0
 public DiyGroupController(IPermissionService permissionService,
     IDiyService branchService, 
     ILanguageService languageService, 
     ILocalizationService localizationService, 
     IStoreMappingService storeMappingService, 
     ILocalizedEntityService localizedEntityService, 
     IStoreService storeService,
     IPictureService pictureService, 
     IUrlRecordService urlRecordService, 
     ICustomerActivityService customerActivityService, 
     IWorkContext workContext,
     ICacheManager cacheManager, 
     DiySettings diySettings, 
     IWebHelper webHelper)
 {
     _permissionService = permissionService;
     _diyService = branchService;
     _languageService = languageService;
     _localizationService = localizationService;
     _storeMappingService = storeMappingService;
     _localizedEntityService = localizedEntityService;
     _storeService = storeService;
     _pictureService = pictureService;
     _urlRecordService = urlRecordService;
     _customerActivityService = customerActivityService;
     _workContext = workContext;
     _cacheManager = cacheManager;
     _diySettings = diySettings;
     _webHelper = webHelper;
 }
Ejemplo n.º 20
0
 public DiscountController(IDiscountService discountService, 
     ILocalizationService localizationService,
     ICurrencyService currencyService,
     ICategoryService categoryService,
     IProductService productService,
     IWebHelper webHelper, 
     IDateTimeHelper dateTimeHelper,
     ICustomerActivityService customerActivityService, 
     CurrencySettings currencySettings,
     IPermissionService permissionService,
     IWorkContext workContext,
     IManufacturerService manufacturerService,
     IStoreService storeService,
     IVendorService vendorService,
     IOrderService orderService,
     IPriceFormatter priceFormatter)
 {
     this._discountService = discountService;
     this._localizationService = localizationService;
     this._currencyService = currencyService;
     this._categoryService = categoryService;
     this._productService = productService;
     this._webHelper = webHelper;
     this._dateTimeHelper = dateTimeHelper;
     this._customerActivityService = customerActivityService;
     this._currencySettings = currencySettings;
     this._permissionService = permissionService;
     this._workContext = workContext;
     this._manufacturerService = manufacturerService;
     this._storeService = storeService;
     this._vendorService = vendorService;
     this._orderService = orderService;
     this._priceFormatter = priceFormatter;
 }
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, 
            IDateTimeHelper dateTimeHelper,
            IPriceFormatter priceFormatter, 
            ICurrencyService currencyService,
            IWorkContext workContext,
            IDownloadService downloadService,
            IOrderService orderService,
            IPaymentService paymentService,
            IStoreService storeService,
            IStoreContext storeContext,
            IProductAttributeParser productAttributeParser,
            MessageTemplatesSettings templatesSettings,
            CatalogSettings catalogSettings,
            TaxSettings taxSettings, 
            IEventPublisher eventPublisher)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._priceFormatter = priceFormatter;
            this._currencyService = currencyService;
            this._workContext = workContext;
            this._downloadService = downloadService;
            this._orderService = orderService;
            this._paymentService = paymentService;
            this._productAttributeParser = productAttributeParser;
            this._storeService = storeService;
            this._storeContext = storeContext;

            this._templatesSettings = templatesSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
            this._eventPublisher = eventPublisher;
        }
 public CheckoutAttributeController(ICheckoutAttributeService checkoutAttributeService,
     ILanguageService languageService, 
     ILocalizedEntityService localizedEntityService,
     ILocalizationService localizationService,
     ITaxCategoryService taxCategoryService,
     IWorkContext workContext, 
     ICurrencyService currencyService, 
     ICustomerActivityService customerActivityService, 
     CurrencySettings currencySettings,
     IMeasureService measureService, 
     MeasureSettings measureSettings,
     IPermissionService permissionService,
     IStoreService storeService,
     IStoreMappingService storeMappingService)
 {
     this._checkoutAttributeService = checkoutAttributeService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._localizationService = localizationService;
     this._taxCategoryService = taxCategoryService;
     this._workContext = workContext;
     this._currencyService = currencyService;
     this._customerActivityService = customerActivityService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._permissionService = permissionService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
 }
 public MobSocialMessageService(IMessageTemplateService messageTemplateService,
                                    IStoreService storeService, IMessageTokenProvider messageTokenProvider,
                                    ILanguageService languageService,
                                    IStoreContext storeContext,
                                    IEventPublisher eventPublisher,
                                    ITokenizer tokenizer, IQueuedEmailService queuedEmailService,
                                    IEmailAccountService emailAccountService,
                                    EmailAccountSettings emailAccountSettings,
                                    ILocalizationService localizationService,
                                    MessageTemplatesSettings messageTemplateSettings,
                                    CatalogSettings catalogSettings,
                                    IProductAttributeParser productAttributeParser, IWorkContext workContext)
 {
     _messageTemplateService = messageTemplateService;
     _storeService = storeService;
     _messageTokenProvider = messageTokenProvider;
     _languageService = languageService;
     _storeContext = storeContext;
     _eventPublisher = eventPublisher;
     _tokenizer = tokenizer;
     _queuedEmailService = queuedEmailService;
     _emailAccountService = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _localizationService = localizationService;
     _messageTemplateSettings = messageTemplateSettings;
     _catalogSettings = catalogSettings;
     _productAttributeParser = productAttributeParser;
     _workContext = workContext;
 }
Ejemplo n.º 24
0
 public WorkflowMessageService(IMessageTemplateService messageTemplateService,
     IQueuedEmailService queuedEmailService,
     ILanguageService languageService,
     ITokenizer tokenizer, 
     IEmailAccountService emailAccountService,
     IMessageTokenProvider messageTokenProvider,
     IStoreService storeService,
     IStoreContext storeContext,
     EmailAccountSettings emailAccountSettings,
     IEventPublisher eventPublisher,
     ISMSSender smsSender,
     SMSSettings smsSettings)
 {
     this._messageTemplateService = messageTemplateService;
     this._queuedEmailService = queuedEmailService;
     this._languageService = languageService;
     this._tokenizer = tokenizer;
     this._emailAccountService = emailAccountService;
     this._messageTokenProvider = messageTokenProvider;
     this._storeService = storeService;
     this._storeContext = storeContext;
     this._emailAccountSettings = emailAccountSettings;
     this._eventPublisher = eventPublisher;
     this._smsSender = smsSender;
     this._smsSettings = smsSettings;
 }
Ejemplo n.º 25
0
 public ReceiveController(IReceiveService receiveService,IGiftCertificateService giftCertificateService,
                          IReceiptAllocationService receiptAllocationService,IUserProfileService userProfileService,
                          ICommodityTypeService commodityTypeService ,IReceiveDetailService receiveDetailService,
                          ICommodityService commodityService,IStoreService storeService,ITransactionService transactionService,
                          IUnitService unitService,IShippingInstructionService shippingInstructionService,IHubService hubService,
                          ICommodityGradeService commodityGradeService,IProgramService programService,ITransporterService transporterService,
                          ICommoditySourceService commoditySourceService, IDonorService donorService)
     : base(userProfileService)
 {
     _receiveService = receiveService;
     _giftCertificateService = giftCertificateService;
     _receiptAllocationService = receiptAllocationService;
     _userProfileService = userProfileService;
     _commodityTypeService = commodityTypeService;
     _receiveDetailService = receiveDetailService;
     _commodityService = commodityService;
     _storeService = storeService;
     _transactionService = transactionService;
     _unitService = unitService;
     _shippingInstructionService = shippingInstructionService;
     _hubService = hubService;
     _commodityGradeService = commodityGradeService;
     _programService = programService;
     _transporterService = transporterService;
     _commoditySourceService=commoditySourceService;
     _donorService = donorService;
 }
        public CustomerRoleController(ICustomerService customerService,
            ILocalizationService localizationService, 
            ICustomerActivityService customerActivityService,
            IPermissionService permissionService,
            IProductService productService,
            ICategoryService categoryService,
            IManufacturerService manufacturerService,
            IStoreService storeService,
            IVendorService vendorService,
            IWorkContext workContext,
            ILanguageService languageService,
            ILocalizedEntityService localizedEntityService,
            ICacheManager cacheManager)
		{
            this._customerService = customerService;
            this._localizationService = localizationService;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._storeService = storeService;
            this._vendorService = vendorService;
            this._workContext = workContext;
            this._languageService = languageService;
            this._localizedEntityService = localizedEntityService;
            this._cacheManager = cacheManager;
        }
 public ShippingByWeightController(IShippingService shippingService,
     IStoreService storeService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ShippingByWeightSettings shippingByWeightSettings,
     IShippingByWeightService shippingByWeightService,
     ISettingService settingService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings)
 {
     this._shippingService = shippingService;
     this._storeService = storeService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._shippingByWeightSettings = shippingByWeightSettings;
     this._shippingByWeightService = shippingByWeightService;
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
 }
Ejemplo n.º 28
0
		public ContentExportImport(IMenuService menuService, IThemeService themeService, IPagesService pagesService, IStoreService storeService)
		{
			_menuService = menuService;
			_storeService = storeService;
			_themeService = themeService;
			_pagesService = pagesService;
		}
Ejemplo n.º 29
0
 internal ImportBusinessVolume(IStoreService storeService, BusinessVolumeType importType)
     : base(null, null)
 {
     _StoreService = storeService;
     _ImportRunning = true;
     _ImportType = importType;
 }
Ejemplo n.º 30
0
		public GoogleService(
			IRepository<GoogleProductRecord> gpRepository,
			IProductService productService,
			IManufacturerService manufacturerService,
			IStoreService storeService,
			ICategoryService categoryService,
			FroogleSettings settings,
			IMeasureService measureService,
			MeasureSettings measureSettings,
			IPriceCalculationService priceCalculationService,
			IWorkContext workContext)
        {
            _gpRepository = gpRepository;
			_productService = productService;
			_manufacturerService = manufacturerService;
			_storeService = storeService;
			_categoryService = categoryService;
			Settings = settings;
			_measureService = measureService;
			_measureSettings = measureSettings;
			_priceCalculationService = priceCalculationService;
			_workContext = workContext;

			_helper = new PluginHelperFeed("PromotionFeed.Froogle", "SmartStore.Plugin.Feed.Froogle", () =>
			{
				return Settings as PromotionFeedSettings;
			});
        }
Ejemplo n.º 31
0
 public CatalogsController(ICatalogService catalogService, IModelMapper modelMapper, IStoreService storeService, ICatalogModelFactory catalogModelFactory)
 {
     _catalogService      = catalogService;
     _modelMapper         = modelMapper;
     _storeService        = storeService;
     _catalogModelFactory = catalogModelFactory;
 }
Ejemplo n.º 32
0
 public CommonMultistoreDisabledWarningViewComponent(ISettingService settingService, IStoreService storeService, CatalogSettings catalogSettings)
 {
     _settingService  = settingService;
     _storeService    = storeService;
     _catalogSettings = catalogSettings;
 }
Ejemplo n.º 33
0
 public CommerceController(ICommerceService commerceService, ICustomerOrderService customerOrderService, IStoreService storeService)
 {
     _commerceService      = commerceService;
     _customerOrderService = customerOrderService;
     _storeService         = storeService;
 }
Ejemplo n.º 34
0
 public ContentProductInformationExtractor(IStoreService storeService, ICurrencyService currencyService, IVatGroupService vatGroupService)
 {
     StoreService    = storeService;
     CurrencyService = currencyService;
     VatGroupService = vatGroupService;
 }
 public CalculateCartTaxesObserver(IStoreService storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 36
0
 public SampleDataController(IStoreService dataCollection)
 {
     storeService = dataCollection;
 }
Ejemplo n.º 37
0
 public StoreSaveHook(ITaskScheduler taskScheduler, IStoreService storeService, HttpContextBase httpContext)
 {
     _taskScheduler = taskScheduler;
     _storeService  = storeService;
     _httpContext   = httpContext;
 }
Ejemplo n.º 38
0
 public CommonModelFactory(AdminAreaSettings adminAreaSettings,
     AppSettings appSettings,
     CatalogSettings catalogSettings,
     CurrencySettings currencySettings,
     IActionContextAccessor actionContextAccessor,
     IAuthenticationPluginManager authenticationPluginManager,
     IBaseAdminModelFactory baseAdminModelFactory,
     ICurrencyService currencyService,
     ICustomerService customerService,
     IEventPublisher eventPublisher,
     INopDataProvider dataProvider,
     IDateTimeHelper dateTimeHelper,
     INopFileProvider fileProvider,
     IExchangeRatePluginManager exchangeRatePluginManager,
     IHttpContextAccessor httpContextAccessor,
     ILanguageService languageService,
     ILocalizationService localizationService,
     IMaintenanceService maintenanceService,
     IMeasureService measureService,
     IMultiFactorAuthenticationPluginManager multiFactorAuthenticationPluginManager,
     IOrderService orderService,
     IPaymentPluginManager paymentPluginManager,
     IPickupPluginManager pickupPluginManager,
     IPluginService pluginService,
     IProductService productService,
     IReturnRequestService returnRequestService,
     ISearchTermService searchTermService,
     IServiceCollection serviceCollection,
     IShippingPluginManager shippingPluginManager,
     IStaticCacheManager staticCacheManager,
     IStoreContext storeContext,
     IStoreService storeService,
     ITaxPluginManager taxPluginManager,
     IUrlHelperFactory urlHelperFactory,
     IUrlRecordService urlRecordService,
     IWebHelper webHelper,
     IWidgetPluginManager widgetPluginManager,
     IWorkContext workContext,
     MeasureSettings measureSettings,
     NopHttpClient nopHttpClient,
     ProxySettings proxySettings)
 {
     _adminAreaSettings = adminAreaSettings;
     _appSettings = appSettings;
     _catalogSettings = catalogSettings;
     _currencySettings = currencySettings;
     _actionContextAccessor = actionContextAccessor;
     _authenticationPluginManager = authenticationPluginManager;
     _baseAdminModelFactory = baseAdminModelFactory;
     _currencyService = currencyService;
     _customerService = customerService;
     _eventPublisher = eventPublisher;
     _dataProvider = dataProvider;
     _dateTimeHelper = dateTimeHelper;
     _exchangeRatePluginManager = exchangeRatePluginManager;
     _httpContextAccessor = httpContextAccessor;
     _languageService = languageService;
     _localizationService = localizationService;
     _maintenanceService = maintenanceService;
     _measureService = measureService;
     _multiFactorAuthenticationPluginManager = multiFactorAuthenticationPluginManager;
     _fileProvider = fileProvider;
     _orderService = orderService;
     _paymentPluginManager = paymentPluginManager;
     _pickupPluginManager = pickupPluginManager;
     _pluginService = pluginService;
     _productService = productService;
     _returnRequestService = returnRequestService;
     _searchTermService = searchTermService;
     _serviceCollection = serviceCollection;
     _shippingPluginManager = shippingPluginManager;
     _staticCacheManager = staticCacheManager;
     _storeContext = storeContext;
     _storeService = storeService;
     _taxPluginManager = taxPluginManager;
     _urlHelperFactory = urlHelperFactory;
     _urlRecordService = urlRecordService;
     _webHelper = webHelper;
     _widgetPluginManager = widgetPluginManager;
     _workContext = workContext;
     _measureSettings = measureSettings;
     _nopHttpClient = nopHttpClient;
     _proxySettings = proxySettings;
 }
 public ConfirmAdminViewModel()
 {
     storeService = StoreService.GetStoreService();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseStore{T}"/> class.
 /// </summary>
 /// <param name="storeService">The store service.</param>
 public BaseStore(IStoreService storeService)
 {
     StoreService = storeService;
 }
Ejemplo n.º 41
0
 public StoreController(IStoreService service)
 {
     _service = service;
 }
 public LoadRelatedCatalogOutlineQueryHandler(IStoreService storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 43
0
 public DetailsModel(IStoreService storeService)
 {
     _storeService = storeService;
 }
 public BrowseFilterService(IStoreService storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 45
0
        public OrderAmazonController(IWorkContext workContext,
            IStoreContext storeContext,
            IStoreService storeService,
            ISettingService settingService,
            ILocalizationService localizationService,
            IPermissionService permissionService,
            IDateTimeHelper dateTimeHelper,

            IOrderService orderService,
            IOrderReportService orderReportService,
            IVendorService vendorService,
            ICacheManager cacheManager,
            IShippingService shippingService,
            IPaymentService paymentService,
            ICountryService countryService,
            IProductService productService,
            IPriceFormatter priceFormatter,
            ICurrencyService currencyService,
            CurrencySettings currencySettings,
            TaxSettings taxSettings,
            IAffiliateService affiliateService,
            IDiscountService discountService,
            IAddressAttributeFormatter addressAttributeFormatter,
            AddressSettings addressSettings,

            IOrderAmazonService orderAmazonService,

            IRepository<OrderItem> orderItemRepository,
            IRepository<OrderAmazon> orderAmazonRepository,
            IRepository<ProductMapping> productMappingRepository,

            IProductAttributeParser productAttributeParser,
        IPluginFinder pluginFinder)
        {
            this._localizationService = localizationService;
            this._settingService = settingService;
            this._storeContext = storeContext;
            this._storeService = storeService;
            this._workContext = workContext;
            this._permissionService = permissionService;
            this._dateTimeHelper = dateTimeHelper;

            this._orderService = orderService;
            this._orderReportService = orderReportService;
            this._orderAmazonService = orderAmazonService;
            this._vendorService = vendorService;
            this._cacheManager = cacheManager;
            this._shippingService = shippingService;
            this._paymentService = paymentService;
            this._countryService = countryService;
            this._productService = productService;
            this._priceFormatter = priceFormatter;
            this._currencyService = currencyService;
            this._currencySettings = currencySettings;

            this._taxSettings = taxSettings;
            this._affiliateService = affiliateService;
            this._discountService = discountService;
            this._addressAttributeFormatter = addressAttributeFormatter;
            this._addressSettings = addressSettings;

            this._orderItemRepository = orderItemRepository;
            this._orderAmazonRepository = orderAmazonRepository;
            this._productMappingRepository = productMappingRepository;

            this._productAttributeParser = productAttributeParser;
        }
Ejemplo n.º 46
0
 public StoreApiController(IStoreService storeService, IUserService userService)
 {
     this._storeService = storeService;
     this._userService  = userService;
     userId             = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity);
 }
Ejemplo n.º 47
0
 public AuthorizeNetController(ICustomerOrderService customerOrderService, IStoreService storeService)
 {
     _customerOrderService = customerOrderService;
     _storeService         = storeService;
 }
Ejemplo n.º 48
0
 public StoreController(IStoreService StoreService)
 {
     this.StoreService = StoreService;
 }
 public OrderModuleController(ICustomerOrderService customerOrderService, ICustomerOrderSearchService searchService, IStoreService storeService, IUniqueNumberGenerator numberGenerator, CacheManager cacheManager, Func <IOrderRepository> repositoryFactory)
 {
     _customerOrderService  = customerOrderService;
     _searchService         = searchService;
     _uniqueNumberGenerator = numberGenerator;
     _storeService          = storeService;
     _cacheManager          = cacheManager;
     _repositoryFactory     = repositoryFactory;
 }
 public GoogleAnalyticsSettingsManager(IStoreService storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 51
0
 public QuoteRequestServiceImpl(Func <IQuoteRepository> quoteRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IDynamicPropertyService dynamicPropertyService, IEventPublisher <QuoteRequestChangeEvent> eventPublisher, IChangeLogService changeLogService, IStoreService storeService)
 {
     _repositoryFactory      = quoteRepositoryFactory;
     _uniqueNumberGenerator  = uniqueNumberGenerator;
     _dynamicPropertyService = dynamicPropertyService;
     _eventPublisher         = eventPublisher;
     _changeLogService       = changeLogService;
     _storeService           = storeService;
 }
Ejemplo n.º 52
0
 public StoreScopeConfigurationViewComponent(IStoreService storeService, IWorkContext workContext)
 {
     this._storeService = storeService;
     this._workContext  = workContext;
 }
Ejemplo n.º 53
0
 public CartModuleController(IShoppingCartService cartService, IShoppingCartSearchService searchService, IStoreService storeService)
 {
     this._shoppingCartService = cartService;
     this._searchService       = searchService;
     _storeService             = storeService;
 }
 public BlogViewModelService(IBlogService blogService, IDateTimeHelper dateTimeHelper, IStoreService storeService, IUrlRecordService urlRecordService,
                             IPictureService pictureService, ICustomerService customerService, ILocalizationService localizationService, IProductService productService,
                             ICategoryService categoryService, IManufacturerService manufacturerService, IVendorService vendorService,
                             ILanguageService languageService, IWorkContext workContext, SeoSettings seoSettings)
 {
     _blogService         = blogService;
     _dateTimeHelper      = dateTimeHelper;
     _storeService        = storeService;
     _urlRecordService    = urlRecordService;
     _pictureService      = pictureService;
     _customerService     = customerService;
     _localizationService = localizationService;
     _productService      = productService;
     _categoryService     = categoryService;
     _manufacturerService = manufacturerService;
     _vendorService       = vendorService;
     _languageService     = languageService;
     _workContext         = workContext;
     _seoSettings         = seoSettings;
 }
Ejemplo n.º 55
0
 public StoreController(IStoreService storeService) : base(storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 56
0
 public StoreExportImport(IStoreService storeService)
 {
     _storeService = storeService;
 }
Ejemplo n.º 57
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="inventoryService">Inventory service to use for adjusting inventories.</param>
 /// <param name="storeService">Implementation of store service.</param>
 /// <param name="settingsManager">Implementation of settings manager.</param>
 public AdjustInventoryOrderChangedEventHandler(IInventoryService inventoryService, IStoreService storeService,
                                                ISettingsManager settingsManager)
 {
     _inventoryService = inventoryService;
     _settingsManager  = settingsManager;
     _storeService     = storeService;
 }
Ejemplo n.º 58
0
        public MainGameHub(IServiceProvider svp)
        {
            #region Main

            _svp      = svp;
            _hubCache = _svp.GetService <IMainGameHubLocalStorageCache>();

            #endregion

            #region Main User

            _gameUserService = _svp.GetService <IGameUserService>();
            _allianceService = _svp.GetService <IAllianceService>();
            _channelService  = (ChannelService)_svp.GetService <IChannelService>();

            _mothershipService = _svp.GetService <IMothershipService>();
            _motherJumpService = _svp.GetService <IUMotherJumpService>();
            _storeService      = _svp.GetService <IStoreService>();

            #endregion

            #region World

            _gameTypeService        = _svp.GetService <IGameTypeService>();
            _gGeometryPlanetService = _svp.GetService <IGGeometryPlanetService>();
            _gDetailPlanetService   = _svp.GetService <IGDetailPlanetService>();
            _gSectorsService        = _svp.GetService <IGSectorsService>();
            _mapInfoService         = _svp.GetService <IMapInfoService>();
            _systemService          = _svp.GetService <ISystemService>();
            _worldService           = _svp.GetService <IWorldService>();
            _gUserBookmarkService   = (GUserBookmarkService)_svp.GetService <IGUserBookmarkService>();

            #endregion

            #region builds

            //collections
            _commandCenter     = _svp.GetService <ICommandCenter>();
            _industrialComplex = _svp.GetService <IIndustrialComplex>();
            _laboratory        = _svp.GetService <ILaboratory>();
            _shipyard          = _svp.GetService <IShipyard>();


            //items
            _energyConverter  = _svp.GetService <IEnergyConverter>();
            _extractionModule = _svp.GetService <IExtractionModule>();
            _extractionModule = _svp.GetService <IExtractionModule>();
            _spaceShipyard    = _svp.GetService <ISpaceShipyard>();
            _storage          = _svp.GetService <IStorage>();
            _turels           = _svp.GetService <ITurels>();

            //common
            _unit                    = _svp.GetService <IUnit>();
            _storageResources        = _svp.GetService <IStorageResourcesService>();
            _transferResourceService = _svp.GetService <ITransferResourceService>();

            #endregion

            #region Global User

            _estateOwnService  = _svp.GetService <IEstateOwnService>();
            _synchronizer      = _svp.GetService <ISynchronizer>();
            _estateListService = _svp.GetService <IEstateListService>();
            _journalOutService = _svp.GetService <IJournalOutService>();
            _gameRunner        = _svp.GetService <IGameRunner>();
            _dbProvider        = _svp.GetService <IDbProvider>();

            #endregion

            #region Confederation

            _confederationService = _svp.GetService <IConfederationService>();

            #endregion
        }
Ejemplo n.º 59
0
 public RequestHandler(IBindingService bindingService, IDataObjectService dataObjectService, IStoreService storeService)
 {
     _bindingService    = bindingService;
     _dataObjectService = dataObjectService;
     _storeService      = storeService;
 }
Ejemplo n.º 60
0
 public StoreApi()
 {
     _ss = new StoreService();
 }