コード例 #1
0
 public ManualPaymentProcessor(ManualPaymentSettings manualPaymentSettings,
     ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._manualPaymentSettings = manualPaymentSettings;
     this._settingService = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
コード例 #2
0
 public CheckMoneyOrderPaymentProcessor(CheckMoneyOrderPaymentSettings checkMoneyOrderPaymentSettings,
     ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._checkMoneyOrderPaymentSettings = checkMoneyOrderPaymentSettings;
     this._settingService = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
コード例 #3
0
 public ShippingController(IShippingService shippingService, 
     ShippingSettings shippingSettings,
     ISettingService settingService,
     IAddressService addressService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ILocalizationService localizationService, 
     IPermissionService permissionService,
      ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IPluginFinder pluginFinder,
     IWebHelper webHelper)
 {
     this._shippingService = shippingService;
     this._shippingSettings = shippingSettings;
     this._settingService = settingService;
     this._addressService = addressService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._pluginFinder = pluginFinder;
     this._webHelper = webHelper;
 }
コード例 #4
0
 public void Init(HttpApplication context)
 {
     cryptoService = DependencyResolver.Current.GetService<ICryptoServiceFactory>().Create();
     settingService = DependencyResolver.Current.GetService<ISettingService>();
     context.AuthenticateRequest += ContextOnAuthenticateRequest;
     context.EndRequest += ContextOnEndRequest;
 }
コード例 #5
0
 public UpdateExchangeRateTask(ICurrencyService currencyService, 
     ISettingService settingService, CurrencySettings currencySettings)
 {
     this._currencyService = currencyService;
     this._settingService = settingService;
     this._currencySettings = currencySettings;
 }
コード例 #6
0
 public ShippingUPSController(UPSSettings upsSettings, ISettingService settingService,
     ICountryService countryService)
 {
     this._upsSettings = upsSettings;
     this._settingService = settingService;
     this._countryService = countryService;
 }
コード例 #7
0
 public DiscountRulesHasAllProductsController(IDiscountService discountService,
     ISettingService settingService, IPermissionService permissionService)
 {
     this._discountService = discountService;
     this._settingService = settingService;
     this._permissionService = permissionService;
 }
コード例 #8
0
 public FroogleService(IScheduleTaskService scheduleTaskService,
     IGoogleService googleService,
     IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IPictureService pictureService,
     ICurrencyService currencyService,
     IWebHelper webHelper,
     ISettingService settingService,
     IWorkContext workContext,
     IMeasureService measureService,
     MeasureSettings measureSettings,
     StoreInformationSettings storeInformationSettings,
     FroogleSettings froogleSettings,
     CurrencySettings currencySettings,
     GoogleProductObjectContext objectContext)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._googleService = googleService;
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._pictureService = pictureService;
     this._currencyService = currencyService;
     this._webHelper = webHelper;
     this._settingService = settingService;
     this._workContext = workContext;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
     this._storeInformationSettings = storeInformationSettings;
     this._froogleSettings = froogleSettings;
     this._currencySettings = currencySettings;
     this._objectContext = objectContext;
 }
コード例 #9
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;
 }
コード例 #10
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;
		}
コード例 #11
0
ファイル: NivoSliderPlugin.cs プロジェクト: nvolpe/raver
 public NivoSliderPlugin(IPictureService pictureService,
     ISettingService settingService, IWebHelper webHelper)
 {
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._webHelper = webHelper;
 }
コード例 #12
0
		public Plugin(
			ISettingService settingService,
			ILocalizationService localizationService)
		{
			_settingService = settingService;
			_localizationService = localizationService;
		}
コード例 #13
0
 public ClickatellSmsProvider(ClickatellSettings clickatellSettings,
     ILogger logger, ISettingService settingService)
 {
     this._clickatellSettings = clickatellSettings;
     this._logger = logger;
     this._settingService = settingService;
 }
        public PaymentSagePayServerController(ISettingService settingService, 
            IPaymentService paymentService, IOrderService orderService, 
            IOrderProcessingService orderProcessingService,
            ILogger logger, SagePayServerPaymentSettings sagePayServerPaymentSettings,
            PaymentSettings paymentSettings, ILocalizationService localizationService,
            IWorkContext workContext, ISagePayServerTransactionService sagePayServerTransactionService,
            IOrderTotalCalculationService orderTotalCalculationService, ICurrencyService currencyService, CurrencySettings currencySettings,
            IMobileDeviceHelper mobileDeviceHelper, OrderSettings orderSettings, HttpContextBase httpContext)
        {
            this._settingService = settingService;
            this._paymentService = paymentService;
            this._orderService = orderService;
            this._orderProcessingService = orderProcessingService;
            this._localizationService = localizationService;
            this._sagePayServerTransactionService = sagePayServerTransactionService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._currencyService = currencyService;

            this._sagePayServerPaymentSettings = sagePayServerPaymentSettings;
            this._paymentSettings = paymentSettings;
            this._currencySettings = currencySettings;
            this._orderSettings = orderSettings;

            this._logger = logger;

            this._workContext = workContext;

            this._httpContext = httpContext;

            this._mobileDeviceHelper = mobileDeviceHelper;
        }
コード例 #15
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;
        }
コード例 #16
0
        public FeedFroogleController(
			IGoogleService googleService, 
			ISettingService settingService)
		{
			this._googleService = googleService;
			this._settingService = settingService;
		}
コード例 #17
0
 public PurchaseOrderPaymentProcessor(PurchaseOrderPaymentSettings purchaseOrderPaymentSettings,
     ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._purchaseOrderPaymentSettings = purchaseOrderPaymentSettings;
     this._settingService = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
コード例 #18
0
 public CashOnDeliveryPaymentProcessor(CashOnDeliveryPaymentSettings cashOnDeliveryPaymentSettings,
     ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._cashOnDeliveryPaymentSettings = cashOnDeliveryPaymentSettings;
     this._settingService = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
コード例 #19
0
 public ZelectroBlogLastPostsPlugin(IPictureService pictureService,
     ISettingService settingService, IWebHelper webHelper)
 {
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._webHelper = webHelper;
 }
        public HomeInstallationQuoteController(
            IWorkContext workContext,
            ISettingService settingService,
            IGenericAttributeService genericAttributeService,
            ILocalizationService localizationService,
            IMessageTokenProvider messageTokenProvider,
            IEmailAccountService emailAccountService,
            IEventPublisher eventPublisher,
            IMessageTemplateService messageTemplateService,
            ITokenizer tokenizer,
            IQueuedEmailService queuedEmailService,
            IProductService productService,

            CaptchaSettings captchaSettings,
            EmailAccountSettings emailAccountSettings)
        {
            _workContext = workContext;
            _settingService = settingService;
            _genericAttributeService = genericAttributeService;
            _localizationService = localizationService;
            _messageTokenProvider = messageTokenProvider;
            _emailAccountService = emailAccountService;
            _eventPublisher = eventPublisher;
            _messageTemplateService = messageTemplateService;
            _tokenizer = tokenizer;
            _queuedEmailService = queuedEmailService;
            _productService = productService;
            _captchaSettings = captchaSettings;
            _emailAccountSettings = emailAccountSettings;
        }
コード例 #21
0
 public GoogleCheckoutPaymentProcessor(ISettingService settingService, 
     IWebHelper webHelper, ITaxService taxService,
     IShippingService shippingService, 
     IOrderTotalCalculationService orderTotalCalculationService,
     IProductAttributeFormatter productAttributeFormatter,
     IPriceCalculationService priceCalculationService, IWorkContext workContext,
     ICustomerService customerService, IGenericAttributeService genericAttributeService, 
     ICountryService countryService,
     IStateProvinceService stateProvinceService, IOrderProcessingService orderProcessingService,
     IOrderService orderService, ILogger logger, HttpContextBase httpContext)
 {
     this._settingService = settingService;
     this._webHelper = webHelper;
     this._taxService = taxService;
     this._shippingService = shippingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._productAttributeFormatter = productAttributeFormatter;
     this._priceCalculationService = priceCalculationService;
     this._workContext = workContext;
     this._customerService = customerService;
     this._genericAttributeService = genericAttributeService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._orderProcessingService = orderProcessingService;
     this._orderService = orderService;
     this._logger = logger;
     this._httpContext = httpContext;
 }
コード例 #22
0
        public MenuItemSelectorViewModel(IApplicationState applicationState, IApplicationStateSetter applicationStateSetter, IMenuService menuService,
            ISettingService settingService, ICacheService cacheService)
        {
            _applicationState = applicationState;
            _applicationStateSetter = applicationStateSetter;
            _menuService = menuService;
            _settingService = settingService;
            _cacheService = cacheService;

            CategoryCommand = new DelegateCommand<ScreenMenuCategory>(OnCategoryCommandExecute);
            MenuItemCommand = new DelegateCommand<ScreenMenuItem>(OnMenuItemCommandExecute);
            TypeValueCommand = new DelegateCommand<string>(OnTypeValueExecute);
            FindLocationCommand = new DelegateCommand<string>(OnFindLocationExecute, CanFindLocation);
            FindMenuItemCommand = new DelegateCommand<string>(OnFindMenuItemCommand);
            FindTicketCommand = new DelegateCommand<string>(OnFindTicketExecute, CanFindTicket);
            IncPageNumberCommand = new CaptionCommand<string>(Localization.Properties.Resources.NextPage + " >>", OnIncPageNumber, CanIncPageNumber);
            DecPageNumberCommand = new CaptionCommand<string>("<< " + Localization.Properties.Resources.PreviousPage, OnDecPageNumber, CanDecPageNumber);
            SubCategoryCommand = new CaptionCommand<ScreenSubCategoryButton>(".", OnSubCategoryCommand);

            EventServiceFactory.EventService.GetEvent<GenericEvent<Department>>().Subscribe(OnDepartmentChanged);
            EventServiceFactory.EventService.GetEvent<GenericEvent<EventAggregator>>().Subscribe(OnNumeratorReset);
            NumeratorValue = "";

            SubCategories = new ObservableCollection<ScreenSubCategoryButton>();
        }
コード例 #23
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            IPictureService pictureService,
            IItemPictureService itemPictureService,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldItemService customFieldItemService,
            ISettingDictionaryService settingDictionaryService,
            IItemStatService itemStatService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _pictureService = pictureService;
            _itemPictureService = itemPictureService;
            _orderService = orderService;            
            
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldItemService = customFieldItemService;
            _itemStatService = itemStatService;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
 public MailChimpInstallationService(MailChimpObjectContext mailChimpObjectContext,
     IScheduleTaskService scheduleTaskService, ISettingService settingService)
 {
     this._mailChimpObjectContext = mailChimpObjectContext;
     this._scheduleTaskService = scheduleTaskService;
     this._settingService = settingService;
 }
コード例 #25
0
 public DynamicReportService(
     IDynamicReportRepository dynamicReportRepository,
     ISettingService serviceSetting)
 {
     _dynamicReportRepository = dynamicReportRepository ?? new DynamicReportRepository();
     _serviceSetting = serviceSetting ?? new SettingService();
 }
コード例 #26
0
 public PaymentManualController(ISettingService settingService, 
     ILocalizationService localizationService, ManualPaymentSettings manualPaymentSettings)
 {
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._manualPaymentSettings = manualPaymentSettings;
 }
コード例 #27
0
 public PaymentAuthorizeNetController(ISettingService settingService, 
     ILocalizationService localizationService, AuthorizeNetPaymentSettings authorizeNetPaymentSettings)
 {
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._authorizeNetPaymentSettings = authorizeNetPaymentSettings;
 }
コード例 #28
0
        public BasicReportModule(IRegionManager regionManager, BasicReportView basicReportView,
            IWorkPeriodService workPeriodService, IPrinterService printerService, ICacheService cacheService,
            IInventoryService inventoryService, IUserService userService, IAutomationService automationService,
            IApplicationState applicationState, ILogService logService, ISettingService settingService)
            : base(regionManager, AppScreens.ReportView)
        {
            ReportContext.PrinterService = printerService;
            ReportContext.WorkPeriodService = workPeriodService;
            ReportContext.InventoryService = inventoryService;
            ReportContext.UserService = userService;
            ReportContext.ApplicationState = applicationState;
            ReportContext.CacheService = cacheService;
            ReportContext.LogService = logService;
            ReportContext.SettingService = settingService;

            _userService = userService;

            _regionManager = regionManager;
            _basicReportView = basicReportView;
            SetNavigationCommand(Resources.Reports, Resources.Common, "Images/Ppt.png", 60);

            PermissionRegistry.RegisterPermission(PermissionNames.OpenReports, PermissionCategories.Navigation, Resources.CanDisplayReports);
            PermissionRegistry.RegisterPermission(PermissionNames.ChangeReportDate, PermissionCategories.Report, Resources.CanChangeReportFilter);

            //todo refactor
            automationService.RegisterParameterSource("ReportName", () => ReportContext.Reports.Select(x => x.Header));

        }
コード例 #29
0
        public new void SetUp()
        {
            _languageRepo = MockRepository.GenerateMock<IRepository<Language>>();
            var lang1 = new Language
            {
                Name = "English",
                LanguageCulture = "en-Us",
                FlagImageFileName = "us.png",
                Published = true,
                DisplayOrder = 1
            };
            var lang2 = new Language
            {
                Name = "Russian",
                LanguageCulture = "ru-Ru",
                FlagImageFileName = "ru.png",
                Published = true,
                DisplayOrder = 2
            };

            _languageRepo.Expect(x => x.Table).Return(new List<Language>() { lang1, lang2 }.AsQueryable());

            _storeMappingRepo = MockRepository.GenerateMock<IRepository<StoreMapping>>();

            var cacheManager = new NopNullCache();

            _settingService = MockRepository.GenerateMock<ISettingService>();

            _eventPublisher = MockRepository.GenerateMock<IEventPublisher>();
            _eventPublisher.Expect(x => x.Publish(Arg<object>.Is.Anything));

            _localizationSettings = new LocalizationSettings();
            _languageService = new LanguageService(cacheManager, _languageRepo, _storeMappingRepo,
                _settingService, _localizationSettings, _eventPublisher);
        }
コード例 #30
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;
 }
コード例 #31
0
        public DemoController(IAuthenticationService authenticationService, IAccountUserService customerService, ISceneService sceneService, ILocationService locationService,
                              IAccountUserRegistrationService customerRegistrationService,
                              IEncryptionService encryptionService,
                              IWebHelper webHelper,
                              IWorkContext workContext,
                              AccountUserSettings customerSettings, CommonSettings commonSettings, SecuritySettings securitySettings, ISettingService settingService
                              )
        {
            _authenticationService          = authenticationService;
            _accountUserService             = customerService;
            _accountUserRegistrationService = customerRegistrationService;
            _encryptionService = encryptionService;

            _webHelper           = webHelper;
            _workContext         = workContext;
            _accountUserSettings = customerSettings;

            _commonSettings   = commonSettings;
            _securitySettings = securitySettings;
            _settingService   = settingService;
            _sceneService     = sceneService;
            _locationService  = locationService;
        }
コード例 #32
0
 public CommonAclDisabledWarningViewComponent(ISettingService settingService, IStoreService storeService, CatalogSettings catalogSettings)
 {
     _settingService  = settingService;
     _storeService    = storeService;
     _catalogSettings = catalogSettings;
 }
コード例 #33
0
 public GoogleAnalyticPlugin(ISettingService settingService, IWebHelper webHelper, IServiceProvider serviceProvider)
 {
     _settingService  = settingService;
     _webHelper       = webHelper;
     _serviceProvider = serviceProvider;
 }
コード例 #34
0
 public ShippingFedexController(FedexSettings fedexSettings, ISettingService settingService)
 {
     this._fedexSettings  = fedexSettings;
     this._settingService = settingService;
 }
コード例 #35
0
 public FunctionRegistry(IAccountDao accountDao, IDepartmentService departmentService, ISettingService settingService,
                         ICacheService cacheService, IEntityService entityService)
 {
     _accountDao        = accountDao;
     _departmentService = departmentService;
     _settingService    = settingService;
     _cacheService      = cacheService;
     _entityService     = entityService;
 }
コード例 #36
0
 public void Setup()
 {
     navigationService = Substitute.For <INavigationService>();
     settingService    = Substitute.For <ISettingService>();
     userRepository    = Substitute.For <IGuidRepository <VerdureUser> >();
 }
コード例 #37
0
 public SiteSeoSettingsViewComponent(ISettingService settingService)
 {
     _settingService = settingService;
 }
コード例 #38
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;
        }
コード例 #39
0
 static CurrencyHelper()
 {
     settings = new SettingService(DataContext.Current);
 }
コード例 #40
0
 public SettingSvc(ISettingService service)
 {
     _serviceSetting = service;
 }
コード例 #41
0
 public KeepAliveTask(ISettingService settingService)
 {
     this._settingService = settingService;
 }
コード例 #42
0
 public DiscountRulesCustomerRolesController(IDiscountService discountService,
                                             ICustomerService customerService, ISettingService settingService,
                                             IPermissionService permissionService)
 {
     this._discountService   = discountService;
     this._customerService   = customerService;
     this._settingService    = settingService;
     this._permissionService = permissionService;
 }
コード例 #43
0
 public UntappdService(ISettingService settingService)
 {
     this.settingService = settingService;
     Untappd             = new Untappd(String.Empty);
 }
コード例 #44
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommissionsController"/> class.
 /// </summary>
 /// <param name="settingService">Injected instance of <see cref="ISettingService"/>.</param>
 public CommissionsController(ISettingService settingService)
 {
     _settingService = settingService;
 }
コード例 #45
0
 public ShippingCanadaPostController(CanadaPostSettings canadaPostSettings, ISettingService settingService)
 {
     this._canadaPostSettings = canadaPostSettings;
     this._settingService     = settingService;
 }
コード例 #46
0
 public WidgetsGoogleAnalyticsController(ILocalizationService localizationService, ISettingService settingService)
 {
     _localizationService = localizationService;
     _settingService      = settingService;
 }
コード例 #47
0
 public ContaAzulService(ICustomerService customerService, ISettingService settingService, ILogger logger)
 {
     _customerService = customerService;
     _settingService  = settingService;
     _logger          = logger;
 }
コード例 #48
0
 public HasAllProductsDiscountRequirementRule(ISettingService settingService, ShoppingCartSettings shoppingCartSettings)
 {
     _settingService       = settingService;
     _shoppingCartSettings = shoppingCartSettings;
 }
コード例 #49
0
 public AllowanceController(IUserService userService, IUserContext userContext, ISettingService settingService, IRoleService roleService, IPermissionService permissionService, ISMSService smsService, ICommentService commentService, IReplyService replyService)
 {
     this._userService       = userService;
     this._userContext       = userContext;
     this._settingService    = settingService;
     this._roleService       = roleService;
     this._permissionService = permissionService;
     this._smsService        = smsService;
     this._commentService    = commentService;
     this._replyService      = replyService;
 }
コード例 #50
0
ファイル: SettingHelper.cs プロジェクト: cykevin/jl.web
 static SettingHelper()
 {
     settingService = (ISettingService)UnityConfig.Container.Resolve(typeof(SettingService), "ISettingService");
 }
コード例 #51
0
 public SettingController(ISettingService settingService,
                          ILocalizationService localizationService)
 {
     this._settingService      = settingService;
     this._localizationService = localizationService;
 }
コード例 #52
0
 public MyCustomPlugin(ILocalizationService localizationService, ISettingService settingService, IWebHelper webHelper)
 {
     _localizationService = localizationService;
     _webHelper           = webHelper;
     _settingService      = settingService;
 }
コード例 #53
0
 public SiteService(ISettingService settingService)
 {
     _settingService = settingService;
 }
コード例 #54
0
ファイル: SchedulerService.cs プロジェクト: gmlan/Middlewares
 public SchedulerService(ILifetimeScope lifetimeScope, ILog log, ICacheManager cacheManager, ISettingService settingService, string consumerQueue, int maxFetchCount)
 {
     _lifetimeScope  = lifetimeScope;
     _log            = log;
     _cacheManager   = cacheManager;
     _settingService = settingService;
     _consumerQueue  = consumerQueue;
     _maxFetchCount  = maxFetchCount;
 }
コード例 #55
0
 public PayInStorePaymentProcessor(PayInStorePaymentSettings payInStorePaymentSettings,
                                   ISettingService settingService)
 {
     this._payInStorePaymentSettings = payInStorePaymentSettings;
     this._settingService            = settingService;
 }
コード例 #56
0
 public frmSetting(ISettingService SettingService)
 {
     _settingService = SettingService;
     InitializeComponent();
 }
コード例 #57
0
 public ThemeService(ISettingService settingService)
 {
     _settingsService = settingService;
     _themeSetting    = settingService.Get <ThemeSetting>();
     UpdateTheme();
 }
コード例 #58
0
 public new void SetUp()
 {
     _settingService = new ConfigFileSettingService(null, null, null);
 }
コード例 #59
0
 public EmailService(ISettingService settingService)
 {
     this._settingService = settingService;
 }
コード例 #60
0
 public HadSpentAmountDiscountRequirementRule(IServiceProvider serviceProvider)
 {
     _settingService      = serviceProvider.GetRequiredService <ISettingService>();
     _orderService        = serviceProvider.GetRequiredService <IOrderService>();
     _localizationService = serviceProvider.GetRequiredService <ILocalizationService>();
 }