当前位置: 首页>>代码示例>>C#>>正文


C# ISettingService类代码示例

本文整理汇总了C#中ISettingService的典型用法代码示例。如果您正苦于以下问题:C# ISettingService类的具体用法?C# ISettingService怎么用?C# ISettingService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ISettingService类属于命名空间,在下文中一共展示了ISettingService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Init

 public void Init(HttpApplication context)
 {
     cryptoService = DependencyResolver.Current.GetService<ICryptoServiceFactory>().Create();
     settingService = DependencyResolver.Current.GetService<ISettingService>();
     context.AuthenticateRequest += ContextOnAuthenticateRequest;
     context.EndRequest += ContextOnEndRequest;
 }
开发者ID:jorik041,项目名称:VerseEngineering,代码行数:7,代码来源:FacebookAuthenticationHttpModule.cs

示例2: DiscountRulesHasAllProductsController

 public DiscountRulesHasAllProductsController(IDiscountService discountService,
     ISettingService settingService, IPermissionService permissionService)
 {
     this._discountService = discountService;
     this._settingService = settingService;
     this._permissionService = permissionService;
 }
开发者ID:nguyentu1982,项目名称:quancu,代码行数:7,代码来源:DiscountRulesHasAllProductsController.cs

示例3: UpdateExchangeRateTask

 public UpdateExchangeRateTask(ICurrencyService currencyService, 
     ISettingService settingService, CurrencySettings currencySettings)
 {
     this._currencyService = currencyService;
     this._settingService = settingService;
     this._currencySettings = currencySettings;
 }
开发者ID:vic0626,项目名称:nas-merk,代码行数:7,代码来源:UpdateExchangeRateTask.cs

示例4: NivoSliderPlugin

 public NivoSliderPlugin(IPictureService pictureService,
     ISettingService settingService, IWebHelper webHelper)
 {
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._webHelper = webHelper;
 }
开发者ID:nvolpe,项目名称:raver,代码行数:7,代码来源:NivoSliderPlugin.cs

示例5: PaymentPayPalStandardController

 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;
 }
开发者ID:jianghaihui,项目名称:nopCommerce,代码行数:26,代码来源:PaymentPayPalStandardController.cs

示例6: WebWorkContext

        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;
        }
开发者ID:ejimenezdelgado,项目名称:SmartStoreNET,代码行数:29,代码来源:WebWorkContext.cs

示例7: ClickatellSmsProvider

 public ClickatellSmsProvider(ClickatellSettings clickatellSettings,
     ILogger logger, ISettingService settingService)
 {
     this._clickatellSettings = clickatellSettings;
     this._logger = logger;
     this._settingService = settingService;
 }
开发者ID:philipengland,项目名称:albionextrusions.co.uk,代码行数:7,代码来源:ClickatellSMSProvider.cs

示例8: ManageController

        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;
        }
开发者ID:scharada,项目名称:beyourmarket,代码行数:35,代码来源:ManageController.cs

示例9: BasicReportModule

        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));

        }
开发者ID:GHLabs,项目名称:SambaPOS-3,代码行数:28,代码来源:BasicReportModule.cs

示例10: MailChimpInstallationService

 public MailChimpInstallationService(MailChimpObjectContext mailChimpObjectContext,
     IScheduleTaskService scheduleTaskService, ISettingService settingService)
 {
     this._mailChimpObjectContext = mailChimpObjectContext;
     this._scheduleTaskService = scheduleTaskService;
     this._settingService = settingService;
 }
开发者ID:philipengland,项目名称:albionextrusions.co.uk,代码行数:7,代码来源:MailChimpInstallationService.cs

示例11: DynamicReportService

 public DynamicReportService(
     IDynamicReportRepository dynamicReportRepository,
     ISettingService serviceSetting)
 {
     _dynamicReportRepository = dynamicReportRepository ?? new DynamicReportRepository();
     _serviceSetting = serviceSetting ?? new SettingService();
 }
开发者ID:sakataa,项目名称:CompanyDocument,代码行数:7,代码来源:PagingMultilevel.cs

示例12: PaymentAuthorizeNetController

 public PaymentAuthorizeNetController(ISettingService settingService, 
     ILocalizationService localizationService, AuthorizeNetPaymentSettings authorizeNetPaymentSettings)
 {
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._authorizeNetPaymentSettings = authorizeNetPaymentSettings;
 }
开发者ID:emretiryaki,项目名称:paymill-nopcommerce,代码行数:7,代码来源:PaymentAuthorizeNetController.cs

示例13: PaymentManualController

 public PaymentManualController(ISettingService settingService, 
     ILocalizationService localizationService, ManualPaymentSettings manualPaymentSettings)
 {
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._manualPaymentSettings = manualPaymentSettings;
 }
开发者ID:emilianionascu,项目名称:NopCommerce,代码行数:7,代码来源:PaymentManualController.cs

示例14: SetUp

        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);
        }
开发者ID:RobHarrisAZ,项目名称:BlindCommerce,代码行数:35,代码来源:LanguageServiceTests.cs

示例15: PurchaseOrderPaymentProcessor

 public PurchaseOrderPaymentProcessor(PurchaseOrderPaymentSettings purchaseOrderPaymentSettings,
     ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService)
 {
     this._purchaseOrderPaymentSettings = purchaseOrderPaymentSettings;
     this._settingService = settingService;
     this._orderTotalCalculationService = orderTotalCalculationService;
 }
开发者ID:vic0626,项目名称:nas-merk,代码行数:7,代码来源:PurchaseOrderPaymentProcessor.cs


注:本文中的ISettingService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。