當前位置: 首頁>>代碼示例>>C#>>正文


C# Common.CommonSettings類代碼示例

本文整理匯總了C#中Nop.Core.Domain.Common.CommonSettings的典型用法代碼示例。如果您正苦於以下問題:C# CommonSettings類的具體用法?C# CommonSettings怎麽用?C# CommonSettings使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


CommonSettings類屬於Nop.Core.Domain.Common命名空間,在下文中一共展示了CommonSettings類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: HomeController

 public HomeController(IStoreContext storeContext, 
     CommonSettings commonSettings, ISettingService settingService)
 {
     this._storeContext = storeContext;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
 }
開發者ID:kramerica-industries,項目名稱:eCommerce,代碼行數:7,代碼來源:HomeController.cs

示例2: HomeController

 public HomeController(StoreInformationSettings storeInformationSettings,
     CommonSettings commonSettings, ISettingService settingService)
 {
     this._storeInformationSettings = storeInformationSettings;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
 }
開發者ID:btolbert,項目名稱:test-commerce,代碼行數:7,代碼來源:HomeController.cs

示例3: FulltextService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 public FulltextService(IDataProvider dataProvider, IDbContext dbContext,
     CommonSettings commonSettings)
 {
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
 }
開發者ID:nopmcs,項目名稱:mycreativestudio,代碼行數:13,代碼來源:FulltextService.cs

示例4: DefaultLogger

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="logRepository">Log repository</param>
 /// <param name="webHelper">Web helper</param>>
 /// <param name="dbContext">DB context</param>>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public DefaultLogger(IRepository<Log> logRepository, IWebHelper webHelper,
     IDbContext dbContext, IDataProvider dataProvider, CommonSettings commonSettings)
 {
     this._logRepository = logRepository;
     this._webHelper = webHelper;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
開發者ID:priceLiu,項目名稱:MulitNop,代碼行數:17,代碼來源:DefaultLogger.cs

示例5: QueuedEmailService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="queuedEmailRepository">Queued email repository</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="dbContext">DB context</param>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public QueuedEmailService(IRepository<QueuedEmail> queuedEmailRepository,
     IEventPublisher eventPublisher,
     IDataProvider dataProvider, 
     CommonSettings commonSettings)
 {
     _queuedEmailRepository = queuedEmailRepository;
     _eventPublisher = eventPublisher;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
開發者ID:powareverb,項目名稱:grandnode,代碼行數:18,代碼來源:QueuedEmailService.cs

示例6: CustomerTagService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerTagRepository">Customer tag repository</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="eventPublisher">Event published</param>
 public CustomerTagService(IRepository<CustomerTag> customerTagRepository,
     IRepository<Customer> customerRepository,
     CommonSettings commonSettings,
     IEventPublisher eventPublisher
     )
 {
     this._customerTagRepository = customerTagRepository;
     this._commonSettings = commonSettings;
     this._eventPublisher = eventPublisher;
     this._customerRepository = customerRepository;
 }
開發者ID:grandnode,項目名稱:grandnode,代碼行數:18,代碼來源:CustomerTagService.cs

示例7: SitemapGenerator

 public SitemapGenerator(ICategoryService categoryService,
     IProductService productService, IManufacturerService manufacturerService,
     ITopicService topicService, CommonSettings commonSettings, IWebHelper webHelper)
 {
     this._categoryService = categoryService;
     this._productService = productService;
     this._manufacturerService = manufacturerService;
     this._topicService = topicService;
     this._commonSettings = commonSettings;
     this._webHelper = webHelper;
 }
開發者ID:emilianionascu,項目名稱:NopCommerce,代碼行數:11,代碼來源:SitemapGenerator.cs

示例8: QueuedSmsService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="queuedSmsRepository">Queued sms repository</param>
 /// <param name="eventPublisher">Event published</param>
 /// <param name="dbContext">DB context</param>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 public QueuedSmsService(IRepository<QueuedSms> queuedSmsRepository,
     IEventPublisher eventPublisher,
     IDbContext dbContext, 
     IDataProvider dataProvider, 
     CommonSettings commonSettings)
 {
     _queuedSmsRepository = queuedSmsRepository;
     _eventPublisher = eventPublisher;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
開發者ID:bane163,項目名稱:nopcommerce-twilio-plugin,代碼行數:20,代碼來源:QueuedSmsService.cs

示例9: SitemapGenerator

 public SitemapGenerator(IStoreContext storeContext,
     ICategoryService categoryService, IProductService productService, 
     IManufacturerService manufacturerService, ITopicService topicService, 
     CommonSettings commonSettings)
 {
     this._storeContext = storeContext;
     this._categoryService = categoryService;
     this._productService = productService;
     this._manufacturerService = manufacturerService;
     this._topicService = topicService;
     this._commonSettings = commonSettings;
 }
開發者ID:minuzZ,項目名稱:zelectroshop,代碼行數:12,代碼來源:SitemapGenerator.cs

示例10: HomeController

 public HomeController(IStoreContext storeContext, 
     CommonSettings commonSettings, 
     ISettingService settingService,
     IWorkContext workContext,
     ICacheManager cacheManager)
 {
     this._storeContext = storeContext;
     this._commonSettings = commonSettings;
     this._settingService = settingService;
     this._workContext = workContext;
     this._cacheManager= cacheManager;
 }
開發者ID:powareverb,項目名稱:grandnode,代碼行數:12,代碼來源:HomeController.cs

示例11: ProductTagService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="productTagRepository">Product tag repository</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="eventPublisher">Event published</param>
 public ProductTagService(IRepository<ProductTag> productTagRepository,
     IDataProvider dataProvider, 
     IDbContext dbContext,
     CommonSettings commonSettings,
     ICacheManager cacheManager,
     IEventPublisher eventPublisher)
 {
     this._productTagRepository = productTagRepository;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._cacheManager = cacheManager;
     this._eventPublisher = eventPublisher;
 }
開發者ID:minuzZ,項目名稱:zelectroshop,代碼行數:23,代碼來源:ProductTagService.cs

示例12: CustomerActivityService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="activityLogRepository">Activity log repository</param>
 /// <param name="activityLogTypeRepository">Activity log type repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="activityKeywordsProvider">Activity Keywords provider</param>
 /// <param name="commonSettings">Common settings</param>
 public CustomerActivityService(ICacheManager cacheManager,
     IRepository<ActivityLog> activityLogRepository,
     IRepository<ActivityLogType> activityLogTypeRepository,
     IWorkContext workContext,
     IActivityKeywordsProvider activityKeywordsProvider,
     CommonSettings commonSettings)
 {
     this._cacheManager = cacheManager;
     this._activityLogRepository = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._workContext = workContext;
     this._activityKeywordsProvider = activityKeywordsProvider;
     this._commonSettings = commonSettings;
 }
開發者ID:powareverb,項目名稱:grandnode,代碼行數:23,代碼來源:CustomerActivityService.cs

示例13: CustomerActivityService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="activityLogRepository">Activity log repository</param>
 /// <param name="activityLogTypeRepository">Activity log type repository</param>
 /// <param name="workContext">Work context</param>
 /// <param name="dbContext">DB context</param>>
 /// <param name="dataProvider">WeData provider</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="webHelper">Web helper</param>
 public CustomerActivityService(ICacheManager cacheManager,
     IRepository<ActivityLog> activityLogRepository,
     IRepository<ActivityLogType> activityLogTypeRepository,
     IWorkContext workContext,
     IDbContext dbContext, IDataProvider dataProvider,
     CommonSettings commonSettings,
     IWebHelper webHelper)
 {
     this._cacheManager = cacheManager;
     this._activityLogRepository = activityLogRepository;
     this._activityLogTypeRepository = activityLogTypeRepository;
     this._workContext = workContext;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
     this._webHelper = webHelper;
 }
開發者ID:nvolpe,項目名稱:raver,代碼行數:28,代碼來源:CustomerActivityService.cs

示例14: LocalizationService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="logger">Logger</param>
 /// <param name="workContext">Work context</param>
 /// <param name="lsrRepository">Locale string resource repository</param>
 /// <param name="languageService">Language service</param>
 /// <param name="dataProvider">Data provider</param>
 /// <param name="dbContext">Database Context</param>
 /// <param name="commonSettings">Common settings</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="eventPublisher">Event published</param>
 public LocalizationService(ICacheManager cacheManager,
     ILogger logger, IWorkContext workContext,
     IRepository<LocaleStringResource> lsrRepository, 
     ILanguageService languageService,
     IDataProvider dataProvider, IDbContext dbContext, CommonSettings commonSettings,
     LocalizationSettings localizationSettings, IEventPublisher eventPublisher)
 {
     this._cacheManager = cacheManager;
     this._logger = logger;
     this._workContext = workContext;
     this._lsrRepository = lsrRepository;
     this._languageService = languageService;
     this._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._localizationSettings = localizationSettings;
     this._eventPublisher = eventPublisher;
 }
開發者ID:RobinHoody,項目名稱:nopCommerce,代碼行數:31,代碼來源:LocalizationService.cs

示例15: CommonController

        public CommonController(ICategoryService categoryService, IProductService productService,
            IManufacturerService manufacturerService, ITopicService topicService,
            ILanguageService languageService,
            ICurrencyService currencyService, ILocalizationService localizationService,
            IWorkContext workContext,
            IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator, IThemeContext themeContext,
            IThemeProvider themeProvider, IForumService forumService,
            ICustomerService customerService, IWebHelper webHelper,
            IPermissionService permissionService, CustomerSettings customerSettings,
            TaxSettings taxSettings, CatalogSettings catalogSettings,
            StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings,
            LocalizationSettings localizationSettings)
        {
            this._categoryService = categoryService;
            this._productService = productService;
            this._manufacturerService = manufacturerService;
            this._topicService = topicService;
            this._languageService = languageService;
            this._currencyService = currencyService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._themeContext = themeContext;
            this._themeProvider = themeProvider;
            this._forumservice = forumService;
            this._customerService = customerService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;

            this._customerSettings = customerSettings;
            this._taxSettings = taxSettings;
            this._catalogSettings = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._commonSettings = commonSettings;
            this._blogSettings = blogSettings;
            this._forumSettings = forumSettings;
            this._localizationSettings = localizationSettings;
        }
開發者ID:cmcginn,項目名稱:StoreFront,代碼行數:43,代碼來源:CommonController.cs


注:本文中的Nop.Core.Domain.Common.CommonSettings類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。