本文整理匯總了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;
}
示例2: HomeController
public HomeController(StoreInformationSettings storeInformationSettings,
CommonSettings commonSettings, ISettingService settingService)
{
this._storeInformationSettings = storeInformationSettings;
this._commonSettings = commonSettings;
this._settingService = settingService;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}