コード例 #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;
 }
コード例 #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;
        }
コード例 #3
0
ファイル: DispatchController.cs プロジェクト: robela/cats
 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;
 }
コード例 #4
0
 public DiscountRulesStoreController(ILocalizationService localizationService,
      IDiscountService discountService, IStoreService storeService)
  {
      this._localizationService = localizationService;
      this._discountService = discountService;
      this._storeService = storeService;
  }
コード例 #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;
 }
コード例 #6
0
        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;
        }
コード例 #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;
		}
コード例 #8
0
 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;
 }
コード例 #9
0
 public CommerceController(ICommerceService commerceService, ICustomerOrderService customerOrderService, IStoreService storeService, ISeoDuplicatesDetector seoDuplicateDetector)
 {
     _commerceService = commerceService;
     _customerOrderService = customerOrderService;
     _storeService = storeService;
     _seoDuplicateDetector = seoDuplicateDetector;
 }
コード例 #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;
        }
コード例 #11
0
        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;
        }
コード例 #12
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;
 }
コード例 #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;
 }
コード例 #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;
        }
コード例 #15
0
        /// <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;
        }
コード例 #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;
 }
コード例 #17
0
 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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #21
0
        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;
        }
コード例 #22
0
 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;
 }
コード例 #23
0
 public MobSocialMessageService(IMessageTemplateService messageTemplateService,
                                    IStoreService storeService, IMessageTokenProvider messageTokenProvider,
                                    ILanguageService languageService,
                                    IStoreContext storeContext,
                                    IEventPublisher eventPublisher,
                                    ITokenizer tokenizer, IQueuedEmailService queuedEmailService,
                                    IEmailAccountService emailAccountService,
                                    EmailAccountSettings emailAccountSettings,
                                    ILocalizationService localizationService,
                                    MessageTemplatesSettings messageTemplateSettings,
                                    CatalogSettings catalogSettings,
                                    IProductAttributeParser productAttributeParser, IWorkContext workContext)
 {
     _messageTemplateService = messageTemplateService;
     _storeService = storeService;
     _messageTokenProvider = messageTokenProvider;
     _languageService = languageService;
     _storeContext = storeContext;
     _eventPublisher = eventPublisher;
     _tokenizer = tokenizer;
     _queuedEmailService = queuedEmailService;
     _emailAccountService = emailAccountService;
     _emailAccountSettings = emailAccountSettings;
     _localizationService = localizationService;
     _messageTemplateSettings = messageTemplateSettings;
     _catalogSettings = catalogSettings;
     _productAttributeParser = productAttributeParser;
     _workContext = workContext;
 }
コード例 #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;
 }
コード例 #25
0
ファイル: ReceiveController.cs プロジェクト: FishAbe/cats
 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;
 }
コード例 #26
0
        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;
        }
コード例 #27
0
 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;
 }
コード例 #28
0
		public ContentExportImport(IMenuService menuService, IThemeService themeService, IPagesService pagesService, IStoreService storeService)
		{
			_menuService = menuService;
			_storeService = storeService;
			_themeService = themeService;
			_pagesService = pagesService;
		}
コード例 #29
0
 internal ImportBusinessVolume(IStoreService storeService, BusinessVolumeType importType)
     : base(null, null)
 {
     _StoreService = storeService;
     _ImportRunning = true;
     _ImportType = importType;
 }
コード例 #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;
			});
        }
コード例 #31
0
 public CatalogsController(ICatalogService catalogService, IModelMapper modelMapper, IStoreService storeService, ICatalogModelFactory catalogModelFactory)
 {
     _catalogService      = catalogService;
     _modelMapper         = modelMapper;
     _storeService        = storeService;
     _catalogModelFactory = catalogModelFactory;
 }
コード例 #32
0
 public CommonMultistoreDisabledWarningViewComponent(ISettingService settingService, IStoreService storeService, CatalogSettings catalogSettings)
 {
     _settingService  = settingService;
     _storeService    = storeService;
     _catalogSettings = catalogSettings;
 }
コード例 #33
0
 public CommerceController(ICommerceService commerceService, ICustomerOrderService customerOrderService, IStoreService storeService)
 {
     _commerceService      = commerceService;
     _customerOrderService = customerOrderService;
     _storeService         = storeService;
 }
コード例 #34
0
 public ContentProductInformationExtractor(IStoreService storeService, ICurrencyService currencyService, IVatGroupService vatGroupService)
 {
     StoreService    = storeService;
     CurrencyService = currencyService;
     VatGroupService = vatGroupService;
 }
コード例 #35
0
 public CalculateCartTaxesObserver(IStoreService storeService)
 {
     _storeService = storeService;
 }
コード例 #36
0
 public SampleDataController(IStoreService dataCollection)
 {
     storeService = dataCollection;
 }
コード例 #37
0
 public StoreSaveHook(ITaskScheduler taskScheduler, IStoreService storeService, HttpContextBase httpContext)
 {
     _taskScheduler = taskScheduler;
     _storeService  = storeService;
     _httpContext   = httpContext;
 }
コード例 #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;
 }
コード例 #39
0
 public ConfirmAdminViewModel()
 {
     storeService = StoreService.GetStoreService();
 }
コード例 #40
0
 /// <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;
 }
コード例 #41
0
 public StoreController(IStoreService service)
 {
     _service = service;
 }
 public LoadRelatedCatalogOutlineQueryHandler(IStoreService storeService)
 {
     _storeService = storeService;
 }
コード例 #43
0
 public DetailsModel(IStoreService storeService)
 {
     _storeService = storeService;
 }
 public BrowseFilterService(IStoreService storeService)
 {
     _storeService = storeService;
 }
コード例 #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;
        }
コード例 #46
0
 public StoreApiController(IStoreService storeService, IUserService userService)
 {
     this._storeService = storeService;
     this._userService  = userService;
     userId             = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity);
 }
コード例 #47
0
 public AuthorizeNetController(ICustomerOrderService customerOrderService, IStoreService storeService)
 {
     _customerOrderService = customerOrderService;
     _storeService         = storeService;
 }
コード例 #48
0
 public StoreController(IStoreService StoreService)
 {
     this.StoreService = StoreService;
 }
コード例 #49
0
 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;
 }
コード例 #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;
 }
コード例 #52
0
 public StoreScopeConfigurationViewComponent(IStoreService storeService, IWorkContext workContext)
 {
     this._storeService = storeService;
     this._workContext  = workContext;
 }
コード例 #53
0
 public CartModuleController(IShoppingCartService cartService, IShoppingCartSearchService searchService, IStoreService storeService)
 {
     this._shoppingCartService = cartService;
     this._searchService       = searchService;
     _storeService             = storeService;
 }
コード例 #54
0
 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;
 }
コード例 #55
0
 public StoreController(IStoreService storeService) : base(storeService)
 {
     _storeService = storeService;
 }
コード例 #56
0
 public StoreExportImport(IStoreService storeService)
 {
     _storeService = storeService;
 }
コード例 #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;
 }
コード例 #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
        }
コード例 #59
0
ファイル: RequestHandler.cs プロジェクト: tat8/Server
 public RequestHandler(IBindingService bindingService, IDataObjectService dataObjectService, IStoreService storeService)
 {
     _bindingService    = bindingService;
     _dataObjectService = dataObjectService;
     _storeService      = storeService;
 }
コード例 #60
0
 public StoreApi()
 {
     _ss = new StoreService();
 }