Example #1
0
        public BlogController(IBlogService blogService, 
            IWorkContext workContext,
            IStoreContext storeContext,
            IPictureService pictureService, 
            ILocalizationService localizationService,
            IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, 
            IWebHelper webHelper,
            ICacheManager cacheManager, 
            ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            MediaSettings mediaSettings,
            BlogSettings blogSettings,
            LocalizationSettings localizationSettings, 
            CustomerSettings customerSettings,
            CaptchaSettings captchaSettings)
        {
            this._blogService = blogService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;
            this._storeMappingService = storeMappingService;

            this._mediaSettings = mediaSettings;
            this._blogSettings = blogSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
        }
 public CustomerController(IAuthenticationService authenticationService,
     ILocalizationService localizationService,
      IWorkContext workContext,
      ICustomerService customerService,
      ICustomerRegistrationService customerRegistrationService,
     CustomerSettings customerSettings,
      IAddressService addressService,
      IWebHelper webHelper,
      LocalizationSettings localizationSettings, 
     CaptchaSettings captchaSettings,
     SecuritySettings securitySettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     ICustomerActivityService customerActivityService,
     DateTimeSettings dateTimeSettings,
     IDateTimeHelper dateTimeHelper,
     IGenericAttributeService genericAttributeService,
     IPermissionService permissionService)
 {
     this._authenticationService = authenticationService;
     this._localizationService = localizationService;
     this._workContext = workContext;
     this._customerRegistrationService = customerRegistrationService;
     this._customerService = customerService;
     this._customerSettings = customerSettings;
     this._addressService = addressService;
     this._webHelper = webHelper;
     this._localizationSettings = localizationSettings;
     this._captchaSettings = captchaSettings;
     this._securitySettings = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._customerActivityService = customerActivityService;
     this._dateTimeSettings = dateTimeSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._genericAttributeService = genericAttributeService;
 }
 public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
 }
 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 CommonController(IPaymentService paymentService, 
     IShippingService shippingService,
     IShoppingCartService shoppingCartService,
     ICurrencyService currencyService,
     IMeasureService measureService,
     ICustomerService customerService,
     IUrlRecordService urlRecordService,
     IWebHelper webHelper,
     CurrencySettings currencySettings,
     MeasureSettings measureSettings,
     IDateTimeHelper dateTimeHelper,
     ILanguageService languageService,
     IWorkContext workContext,
     IStoreContext storeContext,
     IPermissionService permissionService,
     ILocalizationService localizationService)
 {
     this._paymentService = paymentService;
     this._shippingService = shippingService;
     this._shoppingCartService = shoppingCartService;
     this._currencyService = currencyService;
     this._measureService = measureService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._webHelper = webHelper;
     this._currencySettings = currencySettings;
     this._measureSettings = measureSettings;
     this._dateTimeHelper = dateTimeHelper;
     this._languageService = languageService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._permissionService = permissionService;
     this._localizationService = localizationService;
 }
 public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     T = NullLocalizer.Instance;
 }
        public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
            IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
			IStoreService storeService,	IStoreMappingService storeMappingService,
            IUrlRecordService urlRecordService, IPictureService pictureService,
            ILanguageService languageService, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IExportManager exportManager, 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._exportManager = exportManager;
            this._workContext = workContext;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._dateTimeHelper = dateTimeHelper;
            this._adminAreaSettings = adminAreaSettings;
            this._catalogSettings = catalogSettings;
        }
 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;
 }
        public OrderController(IOrderService orderService, 
            IShipmentService shipmentService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, IShippingService shippingService,
            ICountryService countryService, IProductAttributeParser productAttributeParser,
            IWebHelper webHelper,
            CatalogSettings catalogSettings, OrderSettings orderSettings,
            TaxSettings taxSettings, PdfSettings pdfSettings,
            ShippingSettings shippingSettings, AddressSettings addressSettings)
        {
            this._orderService = orderService;
            this._shipmentService = shipmentService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._shippingService = shippingService;
            this._countryService = countryService;
            this._productAttributeParser = productAttributeParser;
            this._webHelper = webHelper;

            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
            this._shippingSettings = shippingSettings;
            this._addressSettings = addressSettings;
        }
        public ReturnRequestController(IOrderService orderService, 
            IWorkContext workContext, 
            IStoreContext storeContext,
            ICurrencyService currencyService, 
            IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IDateTimeHelper dateTimeHelper,
            LocalizationSettings localizationSettings,
            OrderSettings orderSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._dateTimeHelper = dateTimeHelper;

            this._localizationSettings = localizationSettings;
            this._orderSettings = orderSettings;
        }
        public ScheduleTaskService(IRepository<ScheduleTask> taskRepository, IDateTimeHelper dateTimeHelper)
        {
            this._taskRepository = taskRepository;
            this._dateTimeHelper = dateTimeHelper;

            T = NullLocalizer.Instance;
        }
Example #12
0
 public PostCommand(IMessageService messageService, string userName, string text, IDateTimeHelper dateTimeHelper)
 {
     _userName = userName;
     _text = text;
     _dateTimeHelper = dateTimeHelper;
     _messageService = messageService;
 }
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
            IWorkContext workContext, IDownloadService downloadService,
            IOrderService orderService,
            StoreInformationSettings storeSettings, MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
            TaxSettings taxSettings)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._emailAccountService = emailAccountService;
            this._priceFormatter = priceFormatter;
            this._currencyService = currencyService;
            this._webHelper = webHelper;
            this._workContext = workContext;
            this._downloadService = downloadService;
            this._orderService = orderService;

            this._storeSettings = storeSettings;
            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
        }
Example #14
0
 public PdfService(ILocalizationService localizationService, IOrderService orderService,
     IPaymentService paymentService,
     IDateTimeHelper dateTimeHelper, IPriceFormatter priceFormatter,
     ICurrencyService currencyService, IMeasureService measureService,
     IPictureService pictureService, IProductService productService, 
     IProductAttributeParser productAttributeParser, IWebHelper webHelper, 
     CatalogSettings catalogSettings, CurrencySettings currencySettings,
     MeasureSettings measureSettings, PdfSettings pdfSettings, TaxSettings taxSettings,
     StoreInformationSettings storeInformationSettings, AddressSettings addressSettings)
 {
     this._localizationService = localizationService;
     this._orderService = orderService;
     this._paymentService = paymentService;
     this._dateTimeHelper = dateTimeHelper;
     this._priceFormatter = priceFormatter;
     this._currencyService = currencyService;
     this._measureService = measureService;
     this._pictureService = pictureService;
     this._productService = productService;
     this._productAttributeParser = productAttributeParser;
     this._webHelper = webHelper;
     this._currencySettings = currencySettings;
     this._catalogSettings = catalogSettings;
     this._measureSettings = measureSettings;
     this._pdfSettings = pdfSettings;
     this._taxSettings = taxSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._addressSettings = addressSettings;
 }
        public MessageTokenProvider(ILanguageService languageService,
            ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
            IEmailAccountService emailAccountService,
            IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
            IWorkContext workContext, IDownloadService downloadService,
            IOrderService orderService, IPaymentService paymentService,
            IProductAttributeParser productAttributeParser,
            MessageTemplatesSettings templatesSettings,
            EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
            TaxSettings taxSettings, IEventPublisher eventPublisher)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._emailAccountService = emailAccountService;
            this._priceFormatter = priceFormatter;
            this._currencyService = currencyService;
            this._webHelper = webHelper;
            this._workContext = workContext;
            this._downloadService = downloadService;
            this._orderService = orderService;
            this._paymentService = paymentService;
            this._productAttributeParser = productAttributeParser;

            this._templatesSettings = templatesSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._catalogSettings = catalogSettings;
            this._taxSettings = taxSettings;
            this._eventPublisher = eventPublisher;
        }
Example #16
0
        public NewsController(INewsService newsService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._captchaSettings = captchaSettings;
        }
Example #17
0
        public OrderController(IOrderService orderService, IWorkContext workContext,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IOrderProcessingService orderProcessingService,
            IDateTimeHelper dateTimeHelper, IMeasureService measureService,
            IPaymentService paymentService, ILocalizationService localizationService,
            IPdfService pdfService, ICustomerService customerService,
            IWorkflowMessageService workflowMessageService, 
            LocalizationSettings localizationSettings,
            MeasureSettings measureSettings, CatalogSettings catalogSettings,
            OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
        {
            this._orderService = orderService;
            this._workContext = workContext;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._orderProcessingService = orderProcessingService;
            this._dateTimeHelper = dateTimeHelper;
            this._measureService = measureService;
            this._paymentService = paymentService;
            this._localizationService = localizationService;
            this._pdfService = pdfService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;

            this._localizationSettings = localizationSettings;
            this._measureSettings = measureSettings;
            this._catalogSettings = catalogSettings;
            this._orderSettings = orderSettings;
            this._taxSettings = taxSettings;
            this._pdfSettings = pdfSettings;
        }
Example #18
0
 public OnlineUserController(IUserService userService,
      IDateTimeHelper dateTimeHelper,
     IPermissionService permissionService, ILocalizationService localizationService) {
     this._userService = userService;
     this._dateTimeHelper = dateTimeHelper;
     this._permissionService = permissionService;
     this._localizationService = localizationService;
 }
Example #19
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="userRepository">User repository</param>
 /// <param name="userService">User service</param>
 /// <param name="dateTimeHelper">Date time helper</param>
 public UserReportService(IRepository<User> userRepository,
     IUserService userService,
     IDateTimeHelper dateTimeHelper)
 {
     this.userRepository = userRepository;
     this.userService    = userService;
     this.dateTimeHelper = dateTimeHelper;
 }
Example #20
0
 public ActivityLogController(IActivityLogService activityLogService,
     IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
     IPermissionService permissionService) {
     this._activityLogService = activityLogService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
Example #21
0
 public LogController(ILogger logger, ILocalizationService localizationService,
     IWorkContext workContext, IDateTimeHelper dateTimeHelper)
 {
     this.localizationService = localizationService;
     this.logger              = logger;
     this.workContext         = workContext;
     this.dateTimeHelper      = dateTimeHelper;
 }
Example #22
0
 public ScheduleTaskController(IScheduleTaskService scheduleTaskService,
     IPermissionService permissionService,
     IDateTimeHelper dateTimeHelper, ILocalizationService localizationService) {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
 }
 public ProductReviewController(IProductService productService, IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService, IPermissionService permissionService)
 {
     this._productService = productService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
Example #24
0
        public CustomerController(IAuthenticationService authenticationService,
            IDateTimeHelper dateTimeHelper,
            DateTimeSettings dateTimeSettings, TaxSettings taxSettings,
            ILocalizationService localizationService,
            IWorkContext workContext, ICustomerService customerService,
            IGenericAttributeService genericAttributeService,
            ICustomerRegistrationService customerRegistrationService,
            ITaxService taxService, RewardPointsSettings rewardPointsSettings,
            CustomerSettings customerSettings, ForumSettings forumSettings,
            OrderSettings orderSettings, IAddressService addressService,
            ICountryService countryService, IStateProvinceService stateProvinceService,
            IOrderTotalCalculationService orderTotalCalculationService,
            IOrderProcessingService orderProcessingService, IOrderService orderService,
            ICurrencyService currencyService, IPriceFormatter priceFormatter,
            IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService,
            IForumService forumService, IShoppingCartService shoppingCartService,
            IOpenAuthenticationService openAuthenticationService, 
            IBackInStockSubscriptionService backInStockSubscriptionService, 
            IDownloadService downloadService, MediaSettings mediaSettings,
            IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings,
            CaptchaSettings captchaSettings, ExternalAuthenticationSettings externalAuthenticationSettings)
        {
            this._authenticationService = authenticationService;
            this._dateTimeHelper = dateTimeHelper;
            this._dateTimeSettings = dateTimeSettings;
            this._taxSettings = taxSettings;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._customerService = customerService;
            this._genericAttributeService = genericAttributeService;
            this._customerRegistrationService = customerRegistrationService;
            this._taxService = taxService;
            this._rewardPointsSettings = rewardPointsSettings;
            this._customerSettings = customerSettings;
            this._forumSettings = forumSettings;
            this._orderSettings = orderSettings;
            this._addressService = addressService;
            this._countryService = countryService;
            this._stateProvinceService = stateProvinceService;
            this._orderProcessingService = orderProcessingService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._orderService = orderService;
            this._currencyService = currencyService;
            this._priceFormatter = priceFormatter;
            this._pictureService = pictureService;
            this._newsLetterSubscriptionService = newsLetterSubscriptionService;
            this._forumService = forumService;
            this._shoppingCartService = shoppingCartService;
            this._openAuthenticationService = openAuthenticationService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._downloadService = downloadService;

            this._mediaSettings = mediaSettings;
            this._workflowMessageService = workflowMessageService;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
            this._externalAuthenticationSettings = externalAuthenticationSettings;
        }
Example #25
0
 public AuditService(IRepository<AuditAction, int> action, IRepository<AuditSection, int> section, IUtilityService utilityService, IRepository<AuditTrail, long> auditTrail, IWorkContext worker, IDateTimeHelper datetime)
 {
     this._AuditTrailRep = auditTrail;
     this._worker = worker;
     this._date = datetime;
     this._UtilityService = utilityService;
     this._AuditSectionRep = section;
     this._AuditActionRep = action;
 }
 public ActivityLogController(ICustomerActivityService customerActivityService,
     IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
     IPermissionService permissionService)
 {
     this._customerActivityService = customerActivityService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
 public QueuedEmailController(IQueuedEmailService queuedEmailService,
     IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
     IPermissionService permissionService)
 {
     this._queuedEmailService = queuedEmailService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
 public ForumController(IForumService forumService,
     IDateTimeHelper dateTimeHelper, ILocalizationService localizationService,
     IPermissionService permissionService)
 {
     this._forumService = forumService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
 }
 public LogController(IWorkContext workContext,
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IPermissionService permissionService)
 {
     this._workContext = workContext;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._permissionService = permissionService;
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerRepository">Customer repository</param>
 /// <param name="orderRepository">Order repository</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="dateTimeHelper">Date time helper</param>
 public CustomerReportService(IRepository<Customer> customerRepository,
     IRepository<Order> orderRepository, ICustomerService customerService,
     IDateTimeHelper dateTimeHelper)
 {
     this._customerRepository = customerRepository;
     this._orderRepository = orderRepository;
     this._customerService = customerService;
     this._dateTimeHelper = dateTimeHelper;
 }
 public VehicleBusinessLogic()
 {
     vehicleQuery   = new VehicleQuery();
     dateTimeHelper = new DateTimeHelper();
 }
Example #32
0
 public CustomerModelFactory(AddressSettings addressSettings,
                             CaptchaSettings captchaSettings,
                             CatalogSettings catalogSettings,
                             CommonSettings commonSettings,
                             CustomerSettings customerSettings,
                             DateTimeSettings dateTimeSettings,
                             ExternalAuthenticationSettings externalAuthenticationSettings,
                             ForumSettings forumSettings,
                             GdprSettings gdprSettings,
                             IAddressModelFactory addressModelFactory,
                             IAuthenticationPluginManager authenticationPluginManager,
                             ICountryService countryService,
                             ICustomerAttributeParser customerAttributeParser,
                             ICustomerAttributeService customerAttributeService,
                             ICustomerService customerService,
                             IDateTimeHelper dateTimeHelper,
                             IExternalAuthenticationService externalAuthenticationService,
                             IGdprService gdprService,
                             IGenericAttributeService genericAttributeService,
                             ILocalizationService localizationService,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IOrderService orderService,
                             IPictureService pictureService,
                             IProductService productService,
                             IReturnRequestService returnRequestService,
                             IStateProvinceService stateProvinceService,
                             IStoreContext storeContext,
                             IStoreMappingService storeMappingService,
                             IUrlRecordService urlRecordService,
                             IWorkContext workContext,
                             MediaSettings mediaSettings,
                             OrderSettings orderSettings,
                             RewardPointsSettings rewardPointsSettings,
                             SecuritySettings securitySettings,
                             TaxSettings taxSettings,
                             VendorSettings vendorSettings)
 {
     _addressSettings  = addressSettings;
     _captchaSettings  = captchaSettings;
     _catalogSettings  = catalogSettings;
     _commonSettings   = commonSettings;
     _customerSettings = customerSettings;
     _dateTimeSettings = dateTimeSettings;
     _externalAuthenticationService  = externalAuthenticationService;
     _externalAuthenticationSettings = externalAuthenticationSettings;
     _forumSettings               = forumSettings;
     _gdprSettings                = gdprSettings;
     _addressModelFactory         = addressModelFactory;
     _authenticationPluginManager = authenticationPluginManager;
     _countryService              = countryService;
     _customerAttributeParser     = customerAttributeParser;
     _customerAttributeService    = customerAttributeService;
     _customerService             = customerService;
     _dateTimeHelper              = dateTimeHelper;
     _gdprService                   = gdprService;
     _genericAttributeService       = genericAttributeService;
     _localizationService           = localizationService;
     _newsLetterSubscriptionService = newsLetterSubscriptionService;
     _orderService                  = orderService;
     _pictureService                = pictureService;
     _productService                = productService;
     _returnRequestService          = returnRequestService;
     _stateProvinceService          = stateProvinceService;
     _storeContext                  = storeContext;
     _storeMappingService           = storeMappingService;
     _urlRecordService              = urlRecordService;
     _workContext                   = workContext;
     _mediaSettings                 = mediaSettings;
     _orderSettings                 = orderSettings;
     _rewardPointsSettings          = rewardPointsSettings;
     _securitySettings              = securitySettings;
     _taxSettings                   = taxSettings;
     _vendorSettings                = vendorSettings;
 }
Example #33
0
 public ProductController(
     SmartDbContext db,
     IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ICustomerService customerService,
     IUrlService urlService,
     IWorkContext workContext,
     ILanguageService languageService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     IMediaService mediaService,
     IProductTagService productTagService,
     IProductCloner productCloner,
     IActivityLogger activityLogger,
     IAclService aclService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     AdminAreaSettings adminAreaSettings,
     IDateTimeHelper dateTimeHelper,
     IDiscountService discountService,
     IProductAttributeService productAttributeService,
     //IBackInStockSubscriptionService backInStockSubscriptionService,
     IShoppingCartService shoppingCartService,
     IProductAttributeFormatter productAttributeFormatter,
     //IProductAttributeParser productAttributeParser,
     CatalogSettings catalogSettings,
     IDownloadService downloadService,
     IDeliveryTimeService deliveryTimesService,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     IEventPublisher eventPublisher,
     IGenericAttributeService genericAttributeService,
     ICommonServices services,
     ICatalogSearchService catalogSearchService,
     ProductUrlHelper productUrlHelper,
     SeoSettings seoSettings,
     MediaSettings mediaSettings,
     SearchSettings searchSettings)
 {
     _db                      = db;
     _productService          = productService;
     _categoryService         = categoryService;
     _manufacturerService     = manufacturerService;
     _customerService         = customerService;
     _urlService              = urlService;
     _workContext             = workContext;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _mediaService            = mediaService;
     _productTagService       = productTagService;
     _productCloner           = productCloner;
     _activityLogger          = activityLogger;
     _aclService              = aclService;
     _storeContext            = storeContext;
     _storeMappingService     = storeMappingService;
     _adminAreaSettings       = adminAreaSettings;
     _dateTimeHelper          = dateTimeHelper;
     _discountService         = discountService;
     _productAttributeService = productAttributeService;
     //_backInStockSubscriptionService = backInStockSubscriptionService;
     _shoppingCartService       = shoppingCartService;
     _productAttributeFormatter = productAttributeFormatter;
     //_productAttributeParser = productAttributeParser;
     _catalogSettings         = catalogSettings;
     _downloadService         = downloadService;
     _deliveryTimesService    = deliveryTimesService;
     _measureService          = measureService;
     _measureSettings         = measureSettings;
     _eventPublisher          = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _services             = services;
     _catalogSearchService = catalogSearchService;
     _productUrlHelper     = productUrlHelper;
     _seoSettings          = seoSettings;
     _mediaSettings        = mediaSettings;
     _searchSettings       = searchSettings;
 }
Example #34
0
 public ShipmentController(
     IShipmentViewModelService shipmentViewModelService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IWorkContext workContext,
     IMeasureService measureService,
     IPdfService pdfService,
     IProductService productService,
     IExportManager exportManager,
     IWorkflowMessageService workflowMessageService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductAttributeService productAttributeService,
     IProductAttributeParser productAttributeParser,
     IProductAttributeFormatter productAttributeFormatter,
     IShoppingCartService shoppingCartService,
     IGiftCardService giftCardService,
     IDownloadService downloadService,
     IShipmentService shipmentService,
     IShippingService shippingService,
     IStoreService storeService,
     IVendorService vendorService,
     IAddressAttributeParser addressAttributeParser,
     IAddressAttributeService addressAttributeService,
     IAddressAttributeFormatter addressAttributeFormatter,
     IAffiliateService affiliateService,
     IPictureService pictureService,
     ITaxService taxService,
     IReturnRequestService returnRequestService,
     ICustomerService customerService,
     ICustomerActivityService customerActivityService,
     IDateTimeHelper dateTimeHelper,
     IDocumentService documentService,
     CurrencySettings currencySettings,
     TaxSettings taxSettings,
     MeasureSettings measureSettings,
     AddressSettings addressSettings,
     ShippingSettings shippingSettings,
     MediaSettings mediaSettings)
 {
     _shipmentViewModelService = shipmentViewModelService;
     _orderService             = orderService;
     _orderProcessingService   = orderProcessingService;
     _localizationService      = localizationService;
     _workContext               = workContext;
     _measureService            = measureService;
     _pdfService                = pdfService;
     _productService            = productService;
     _exportManager             = exportManager;
     _workflowMessageService    = workflowMessageService;
     _categoryService           = categoryService;
     _manufacturerService       = manufacturerService;
     _productAttributeService   = productAttributeService;
     _productAttributeParser    = productAttributeParser;
     _productAttributeFormatter = productAttributeFormatter;
     _shoppingCartService       = shoppingCartService;
     _giftCardService           = giftCardService;
     _downloadService           = downloadService;
     _shipmentService           = shipmentService;
     _shippingService           = shippingService;
     _storeService              = storeService;
     _vendorService             = vendorService;
     _addressAttributeParser    = addressAttributeParser;
     _addressAttributeService   = addressAttributeService;
     _addressAttributeFormatter = addressAttributeFormatter;
     _affiliateService          = affiliateService;
     _pictureService            = pictureService;
     _taxService                = taxService;
     _returnRequestService      = returnRequestService;
     _customerActivityService   = customerActivityService;
     _dateTimeHelper            = dateTimeHelper;
     _currencySettings          = currencySettings;
     _taxSettings               = taxSettings;
     _measureSettings           = measureSettings;
     _addressSettings           = addressSettings;
     _shippingSettings          = shippingSettings;
     _customerService           = customerService;
     _mediaSettings             = mediaSettings;
     _documentService           = documentService;
 }
Example #35
0
 public ActivityLogController(ICustomerActivityService customerActivityService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IPermissionService permissionService)
 {
     _customerActivityService = customerActivityService;
     _dateTimeHelper          = dateTimeHelper;
     _localizationService     = localizationService;
     _permissionService       = permissionService;
 }
 public CheckFeedJobQueueProcess(IVkGroupRepository groupRepository, IFeedRepository feedRepository, IDateTimeHelper dateTimeHelper, JmxClientConfiguration jmxConfiguration, ILog log)
 {
     this.groupRepository  = groupRepository;
     this.feedRepository   = feedRepository;
     this.dateTimeHelper   = dateTimeHelper;
     this.jmxConfiguration = jmxConfiguration;
     this.log = log;
 }
        public GetVendorReviewsHandler(IWorkContext workContext, IVendorService vendorService, ICustomerService customerService, IDateTimeHelper dateTimeHelper,
                                       CustomerSettings customerSettings, VendorSettings vendorSettings, CaptchaSettings captchaSettings)
        {
            _workContext     = workContext;
            _vendorService   = vendorService;
            _customerService = customerService;
            _dateTimeHelper  = dateTimeHelper;

            _customerSettings = customerSettings;
            _vendorSettings   = vendorSettings;
            _captchaSettings  = captchaSettings;
        }
        public GetNewsItemHandler(ICacheManager cacheManager, IWorkContext workContext, IStoreContext storeContext, IDateTimeHelper dateTimeHelper,
                                  IPictureService pictureService, IWebHelper webHelper, ILocalizationService localizationService, ICustomerService customerService,
                                  MediaSettings mediaSettings, CaptchaSettings captchaSettings, CustomerSettings customerSettings)
        {
            _cacheManager        = cacheManager;
            _workContext         = workContext;
            _storeContext        = storeContext;
            _dateTimeHelper      = dateTimeHelper;
            _pictureService      = pictureService;
            _webHelper           = webHelper;
            _localizationService = localizationService;
            _customerService     = customerService;

            _mediaSettings    = mediaSettings;
            _captchaSettings  = captchaSettings;
            _customerSettings = customerSettings;
        }
Example #39
0
        public LambdaContext(RuntimeApiHeaders runtimeApiHeaders, LambdaEnvironment lambdaEnvironment, IDateTimeHelper dateTimeHelper, IConsoleLoggerWriter consoleLogger)
        {
            _lambdaEnvironment = lambdaEnvironment;
            _runtimeApiHeaders = runtimeApiHeaders;
            _dateTimeHelper    = dateTimeHelper;
            _consoleLogger     = consoleLogger;

            int.TryParse(_lambdaEnvironment.FunctionMemorySize, out _memoryLimitInMB);
            long.TryParse(_runtimeApiHeaders.DeadlineMs, out _deadlineMs);
            _cognitoIdentityLazy      = new Lazy <CognitoIdentity>(() => CognitoIdentity.FromJson(runtimeApiHeaders.CognitoIdentityJson));
            _cognitoClientContextLazy = new Lazy <CognitoClientContext>(() => CognitoClientContext.FromJson(runtimeApiHeaders.ClientContextJson));

            // set environment variable so that if the function uses the XRay client it will work correctly
            _lambdaEnvironment.SetXAmznTraceId(_runtimeApiHeaders.TraceId);
        }
Example #40
0
        public Contract(ITariff tariff, IPort port, int paymentDay, int daysToChangeContract, IDateTimeHelper dtHelper = null)
        {
            if (tariff == null)
            {
                throw new ArgumentNullException("tariff", "tariff cannot be null.");
            }
            if (port == null)
            {
                throw new ArgumentNullException("port", "port cannot be null.");
            }

            _dtHelper = dtHelper ?? new DefaultDateTimeHelper();

            Tariff                = tariff;
            Port                  = port;
            PaymentDay            = paymentDay;
            Date                  = _dtHelper.Now;
            TariffStartDate       = Date;
            State                 = ContractStates.Active;
            _daysToChangeContract = daysToChangeContract;
        }
Example #41
0
 public Terminal(IDateTimeHelper dtHelper = null)
 {
     _dtHelper = dtHelper ?? new DefaultDateTimeHelper();
 }
Example #42
0
 public CustomerModelFactory(IAddressModelFactory addressModelFactory,
                             IDateTimeHelper dateTimeHelper,
                             DateTimeSettings dateTimeSettings,
                             TaxSettings taxSettings,
                             ILocalizationService localizationService,
                             IWorkContext workContext,
                             IStoreContext storeContext,
                             IStoreMappingService storeMappingService,
                             ICustomerAttributeParser customerAttributeParser,
                             ICustomerAttributeService customerAttributeService,
                             IGenericAttributeService genericAttributeService,
                             RewardPointsSettings rewardPointsSettings,
                             CustomerSettings customerSettings,
                             AddressSettings addressSettings,
                             ForumSettings forumSettings,
                             SubscriptionSettings subscriptionSettings,
                             ICountryService countryService,
                             IStateProvinceService stateProvinceService,
                             ISubscriptionService subscriptionService,
                             IPictureService pictureService,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IOpenAuthenticationService openAuthenticationService,
                             IDownloadService downloadService,
                             IReturnRequestService returnRequestService,
                             MediaSettings mediaSettings,
                             CaptchaSettings captchaSettings,
                             SecuritySettings securitySettings,
                             ExternalAuthenticationSettings externalAuthenticationSettings,
                             CatalogSettings catalogSettings,
                             ContributorSettings contributorSettings)
 {
     this._addressModelFactory            = addressModelFactory;
     this._dateTimeHelper                 = dateTimeHelper;
     this._dateTimeSettings               = dateTimeSettings;
     this._taxSettings                    = taxSettings;
     this._localizationService            = localizationService;
     this._workContext                    = workContext;
     this._storeContext                   = storeContext;
     this._storeMappingService            = storeMappingService;
     this._customerAttributeParser        = customerAttributeParser;
     this._customerAttributeService       = customerAttributeService;
     this._genericAttributeService        = genericAttributeService;
     this._rewardPointsSettings           = rewardPointsSettings;
     this._customerSettings               = customerSettings;
     this._addressSettings                = addressSettings;
     this._forumSettings                  = forumSettings;
     this._subscriptionSettings           = subscriptionSettings;
     this._countryService                 = countryService;
     this._stateProvinceService           = stateProvinceService;
     this._subscriptionService            = subscriptionService;
     this._pictureService                 = pictureService;
     this._newsLetterSubscriptionService  = newsLetterSubscriptionService;
     this._openAuthenticationService      = openAuthenticationService;
     this._downloadService                = downloadService;
     this._returnRequestService           = returnRequestService;
     this._mediaSettings                  = mediaSettings;
     this._captchaSettings                = captchaSettings;
     this._securitySettings               = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._catalogSettings                = catalogSettings;
     this._contributorSettings            = contributorSettings;
 }
Example #43
0
 public TaskExecutionInfoMapper(IDateTimeHelper dateTimeHelper)
 {
     _dateTimeHelper = dateTimeHelper;
 }
Example #44
0
 public CommonModelFactory(AdminAreaSettings adminAreaSettings,
                           AppSettings appSettings,
                           CatalogSettings catalogSettings,
                           CurrencySettings currencySettings,
                           IActionContextAccessor actionContextAccessor,
                           IAuthenticationPluginManager authenticationPluginManager,
                           IBaseAdminModelFactory baseAdminModelFactory,
                           IComponentContext componentContext,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           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,
                           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;
     _componentContext                       = componentContext;
     _currencyService                        = currencyService;
     _customerService                        = customerService;
     _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;
     _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 ContractFactory(IDateTimeHelper dtHelper = null)
 {
     _dtHelper = dtHelper;
 }
 public OfficeLightAutomation(HomeAssistantConnector connector,
                              IDateTimeHelper dateTimeHelper)
 {
     this.connector      = connector;
     this.dateTimeHelper = dateTimeHelper;
 }
Example #47
0
 public ForumModelFactory(IDateTimeHelper dateTimeHelper,
                          IForumService forumService)
 {
     this._dateTimeHelper = dateTimeHelper;
     this._forumService   = forumService;
 }
Example #48
0
 public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService   = permissionService;
     this._dateTimeHelper      = dateTimeHelper;
     T = NullLocalizer.Instance;
 }
        public static BlogPost ToEntity(this BlogPostModel model, BlogPost destination, IDateTimeHelper dateTimeHelper)
        {
            var blogpost = model.MapTo(destination);

            blogpost.CreatedOnUtc = model.CreateDate.ConvertToUtcTime(dateTimeHelper);
            blogpost.StartDateUtc = model.StartDate.ConvertToUtcTime(dateTimeHelper);
            blogpost.EndDateUtc   = model.EndDate.ConvertToUtcTime(dateTimeHelper);
            return(blogpost);
        }
Example #50
0
 public CustomerWebService(
     IExternalAuthenticationService externalAuthenticationService,
     ICustomerAttributeParser customerAttributeParser,
     ICustomerAttributeService customerAttributeService,
     ILocalizationService localizationService,
     IDateTimeHelper dateTimeHelper,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     IGenericAttributeService genericAttributeService,
     IWorkflowMessageService workflowMessageService,
     IReturnRequestService returnRequestService,
     IStoreMappingService storeMappingService,
     IAddressWebService addressWebService,
     IOrderService orderService,
     IDownloadService downloadService,
     IPictureService pictureService,
     IProductService productService,
     IAuctionService auctionService,
     CustomerSettings customerSettings,
     DateTimeSettings dateTimeSettings,
     TaxSettings taxSettings,
     ForumSettings forumSettings,
     ExternalAuthenticationSettings externalAuthenticationSettings,
     SecuritySettings securitySettings,
     CaptchaSettings captchaSettings,
     RewardPointsSettings rewardPointsSettings,
     OrderSettings orderSettings,
     MediaSettings mediaSettings,
     VendorSettings vendorSettings
     )
 {
     this._externalAuthenticationService = externalAuthenticationService;
     this._customerAttributeParser       = customerAttributeParser;
     this._customerAttributeService      = customerAttributeService;
     this._localizationService           = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._workContext                    = workContext;
     this._storeContext                   = storeContext;
     this._countryService                 = countryService;
     this._stateProvinceService           = stateProvinceService;
     this._genericAttributeService        = genericAttributeService;
     this._workflowMessageService         = workflowMessageService;
     this._returnRequestService           = returnRequestService;
     this._storeMappingService            = storeMappingService;
     this._addressWebService              = addressWebService;
     this._orderService                   = orderService;
     this._downloadService                = downloadService;
     this._pictureService                 = pictureService;
     this._productService                 = productService;
     this._auctionService                 = auctionService;
     this._customerSettings               = customerSettings;
     this._dateTimeSettings               = dateTimeSettings;
     this._taxSettings                    = taxSettings;
     this._forumSettings                  = forumSettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._securitySettings               = securitySettings;
     this._captchaSettings                = captchaSettings;
     this._rewardPointsSettings           = rewardPointsSettings;
     this._orderSettings                  = orderSettings;
     this._mediaSettings                  = mediaSettings;
     this._vendorSettings                 = vendorSettings;
 }
 public VehicleBusinessLogic(IVehicleQuery vehicleQuery, IDateTimeHelper dateTimeHelper)
 {
     this.vehicleQuery   = vehicleQuery;
     this.dateTimeHelper = dateTimeHelper;
 }
Example #52
0
 public MembersFeedProvider(ILog log, IDateTimeHelper dateTimeHelper)
 {
     this.log            = log;
     this.dateTimeHelper = dateTimeHelper;
 }
Example #53
0
 public CommonModelFactory(AdminAreaSettings adminAreaSettings,
                           CatalogSettings catalogSettings,
                           CurrencySettings currencySettings,
                           IActionContextAccessor actionContextAccessor,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           IDateTimeHelper dateTimeHelper,
                           INopFileProvider fileProvider,
                           IHttpContextAccessor httpContextAccessor,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           IMaintenanceService maintenanceService,
                           IMeasureService measureService,
                           IOrderService orderService,
                           IPaymentService paymentService,
                           IPluginFinder pluginFinder,
                           IProductService productService,
                           IReturnRequestService returnRequestService,
                           ISearchTermService searchTermService,
                           IStoreContext storeContext,
                           IStoreService storeService,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWorkContext workContext,
                           ExternalAuthenticationSettings externalAuthenticationSettings,
                           MeasureSettings measureSettings,
                           PaymentSettings paymentSettings,
                           ShippingSettings shippingSettings,
                           TaxSettings taxSettings,
                           WidgetSettings widgetSettings)
 {
     this._adminAreaSettings              = adminAreaSettings;
     this._catalogSettings                = catalogSettings;
     this._currencySettings               = currencySettings;
     this._actionContextAccessor          = actionContextAccessor;
     this._currencyService                = currencyService;
     this._customerService                = customerService;
     this._dateTimeHelper                 = dateTimeHelper;
     this._fileProvider                   = fileProvider;
     this._httpContextAccessor            = httpContextAccessor;
     this._languageService                = languageService;
     this._localizationService            = localizationService;
     this._maintenanceService             = maintenanceService;
     this._measureService                 = measureService;
     this._orderService                   = orderService;
     this._paymentService                 = paymentService;
     this._pluginFinder                   = pluginFinder;
     this._productService                 = productService;
     this._returnRequestService           = returnRequestService;
     this._searchTermService              = searchTermService;
     this._storeContext                   = storeContext;
     this._storeService                   = storeService;
     this._urlHelperFactory               = urlHelperFactory;
     this._urlRecordService               = urlRecordService;
     this._webHelper                      = webHelper;
     this._workContext                    = workContext;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._measureSettings                = measureSettings;
     this._paymentSettings                = paymentSettings;
     this._shippingSettings               = shippingSettings;
     this._taxSettings                    = taxSettings;
     this._widgetSettings                 = widgetSettings;
 }
 public AffiliateViewModelService(IWebHelper webHelper, IWorkContext workContext, ICountryService countryService, IStateProvinceService stateProvinceService,
                                  IPriceFormatter priceFormatter, IAffiliateService affiliateService,
                                  ICustomerService customerService, IOrderService orderService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, SeoSettings seoSettings)
 {
     _webHelper            = webHelper;
     _workContext          = workContext;
     _countryService       = countryService;
     _stateProvinceService = stateProvinceService;
     _priceFormatter       = priceFormatter;
     _affiliateService     = affiliateService;
     _customerService      = customerService;
     _orderService         = orderService;
     _localizationService  = localizationService;
     _dateTimeHelper       = dateTimeHelper;
     _seoSettings          = seoSettings;
 }
Example #55
0
 public LogController(ILogger logger, IPermissionService permissionService, IWorkContext workContext, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper)
 {
     _logger              = logger;
     _permissionService   = permissionService;
     _workContext         = workContext;
     _localizationService = localizationService;
     _dateTimeHelper      = dateTimeHelper;
 }
 public KnowledgebaseController(KnowledgebaseSettings knowledgebaseSettings, IKnowledgebaseService knowledgebaseService, IWorkContext workContext,
                                IStoreContext storeContext, ICacheManager cacheManager, IAclService aclService, IStoreMappingService storeMappingService, ILocalizationService localizationService,
                                CaptchaSettings captchaSettings, LocalizationSettings localizationSettings, IWorkflowMessageService workflowMessageService,
                                ICustomerActivityService customerActivityService, IDateTimeHelper dateTimeHelper, CustomerSettings customerSettings,
                                MediaSettings mediaSettings, IPictureService pictureService, IPermissionService permissionService)
 {
     _knowledgebaseSettings   = knowledgebaseSettings;
     _knowledgebaseService    = knowledgebaseService;
     _workContext             = workContext;
     _storeContext            = storeContext;
     _cacheManager            = cacheManager;
     _aclService              = aclService;
     _storeMappingService     = storeMappingService;
     _localizationService     = localizationService;
     _captchaSettings         = captchaSettings;
     _localizationSettings    = localizationSettings;
     _workflowMessageService  = workflowMessageService;
     _customerActivityService = customerActivityService;
     _dateTimeHelper          = dateTimeHelper;
     _customerSettings        = customerSettings;
     _mediaSettings           = mediaSettings;
     _pictureService          = pictureService;
     _permissionService       = permissionService;
 }
Example #57
0
 public BsQuickViewController(
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IProductAttributeService productAttributeService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPictureService pictureService,
     ILocalizationService localizationService,
     //change-3.7
     IMeasureService measureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper,
     ISpecificationAttributeService specificationAttributeService,
     IDateTimeHelper dateTimeHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IWorkflowMessageService workflowMessageService,
     IProductTagService productTagService,
     IOrderReportService orderReportService,
     IBackInStockSubscriptionService backInStockSubscriptionService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     ICustomerActivityService customerActivityService,
     IProductAttributeParser productAttributeParser,
     IShippingService shippingService,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CustomerSettings customerSettings,
     CaptchaSettings captchaSettings,
     SeoSettings seoSettings,
     ICacheManager cacheManager,
     ISettingService settingService,
     IDownloadService downloadService, IProductModelFactory productModelFactory, IDateRangeService dateRangeService)
 {
     this._categoryService         = categoryService;
     this._manufacturerService     = manufacturerService;
     this._productService          = productService;
     this._vendorService           = vendorService;
     this._productTemplateService  = productTemplateService;
     this._productAttributeService = productAttributeService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._taxService          = taxService;
     this._currencyService     = currencyService;
     this._pictureService      = pictureService;
     this._localizationService = localizationService;
     //change-3.7
     this._measureService          = measureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter          = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._dateTimeHelper = dateTimeHelper;
     this._recentlyViewedProductsService  = recentlyViewedProductsService;
     this._compareProductsService         = compareProductsService;
     this._workflowMessageService         = workflowMessageService;
     this._productTagService              = productTagService;
     this._orderReportService             = orderReportService;
     this._backInStockSubscriptionService = backInStockSubscriptionService;
     this._aclService              = aclService;
     this._storeMappingService     = storeMappingService;
     this._permissionService       = permissionService;
     this._customerActivityService = customerActivityService;
     this._productAttributeParser  = productAttributeParser;
     this._shippingService         = shippingService;
     this._mediaSettings           = mediaSettings;
     this._catalogSettings         = catalogSettings;
     this._vendorSettings          = vendorSettings;
     this._shoppingCartSettings    = shoppingCartSettings;
     this._localizationSettings    = localizationSettings;
     this._customerSettings        = customerSettings;
     this._captchaSettings         = captchaSettings;
     this._seoSettings             = seoSettings;
     this._cacheManager            = cacheManager;
     this._settingService          = settingService;
     this._downloadService         = downloadService;
     _productModelFactory          = productModelFactory;
     _dateRangeService             = dateRangeService;
 }
        public static TierPrice ToEntity(this ProductModel.TierPriceModel model, TierPrice destination, IDateTimeHelper dateTimeHelper)
        {
            var tierprice = model.MapTo(destination);

            tierprice.StartDateTimeUtc = model.StartDateTime.ConvertToUtcTime(dateTimeHelper);
            tierprice.EndDateTimeUtc   = model.EndDateTime.ConvertToUtcTime(dateTimeHelper);
            return(tierprice);
        }
Example #59
0
 public ReminderNotificationsTask(IPluginFinder pluginFinder, IMobSocialMessageService mobSocialMessageService, IVideoBattleService videoBattleService, IVideoBattleVideoService videoBattleVideoService, IVideoBattleVoteService videoBattleVoteService, mobSocialSettings mobSocialSettings, IVideoBattleParticipantService videoBattleParticipantService, ICustomerService customerService, IWorkContext workContext, IStoreContext storeContext, ICustomerFollowService customerFollowService, IDateTimeHelper dateTimeHelper)
 {
     _pluginFinder                  = pluginFinder;
     _mobSocialMessageService       = mobSocialMessageService;
     _videoBattleService            = videoBattleService;
     _videoBattleVideoService       = videoBattleVideoService;
     _videoBattleVoteService        = videoBattleVoteService;
     _mobSocialSettings             = mobSocialSettings;
     _videoBattleParticipantService = videoBattleParticipantService;
     _customerService               = customerService;
     _workContext           = workContext;
     _storeContext          = storeContext;
     _customerFollowService = customerFollowService;
     _dateTimeHelper        = dateTimeHelper;
 }
Example #60
0
 public PostCommand(IMessageService messageService, string userName, string text, IDateTimeHelper dateTimeHelper)
 {
     _userName       = userName;
     _text           = text;
     _dateTimeHelper = dateTimeHelper;
     _messageService = messageService;
 }