本文整理汇总了C#中ISettingService类的典型用法代码示例。如果您正苦于以下问题:C# ISettingService类的具体用法?C# ISettingService怎么用?C# ISettingService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISettingService类属于命名空间,在下文中一共展示了ISettingService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: MenuItemSelectorViewModel
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>();
}
开发者ID:Spanky81,项目名称:SambaPOS-3,代码行数:25,代码来源:MenuItemSelectorViewModel.cs
示例17: PaymentSagePayServerController
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;
}
开发者ID:philipengland,项目名称:albionextrusions.co.uk,代码行数:31,代码来源:PaymentSagePayServerController.cs
示例18: SettingController
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;
}
开发者ID:haithemChkel,项目名称:nopCommerce_33,代码行数:34,代码来源:SettingController.cs
示例19: Plugin
public Plugin(
ISettingService settingService,
ILocalizationService localizationService)
{
_settingService = settingService;
_localizationService = localizationService;
}
开发者ID:boatengfrankenstein,项目名称:SmartStoreNET,代码行数:7,代码来源:Plugin.cs
示例20: HomeInstallationQuoteController
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;
}
开发者ID:ventil8,项目名称:Nop.Plugin.Misc.FreeSample,代码行数:30,代码来源:HomeInstallationQuoteController.cs
注:本文中的ISettingService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论