Example #1
0
 public SitemapGenerator(
     CommonSettings commonSettings,
     SecuritySettings securitySettings)
 {
     this._commonSettings = commonSettings;
     this._securitySettings = securitySettings;
 }
Example #2
0
 public HomeController(CommonSettings commonSettings, 
     ISettingService settingService,
     IWorkContext workContext,
     ICacheManager cacheManager)
 {
     this._commonSettings = commonSettings;
     this._settingService = settingService;
     this._workContext = workContext;
     this._cacheManager= cacheManager;
 }
Example #3
0
 /// <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;
 }
 /// <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,
     IDbContext dbContext, 
     IDataProvider dataProvider, 
     CommonSettings commonSettings)
 {
     _queuedEmailRepository = queuedEmailRepository;
     _eventPublisher = eventPublisher;
     this._dbContext = dbContext;
     this._dataProvider = dataProvider;
     this._commonSettings = commonSettings;
 }
 /// <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._dataProvider = dataProvider;
     this._dbContext = dbContext;
     this._commonSettings = commonSettings;
     this._localizationSettings = localizationSettings;
     this._eventPublisher = eventPublisher;
 }
Example #6
0
        public CommonController(
            ILanguageService languageService,
            ILocalizationService localizationService,
            IWorkContext workContext, 
            IQueuedEmailService queuedEmailService, 
            IEmailAccountService emailAccountService,
            ISitemapGenerator sitemapGenerator,
            IGenericAttributeService genericAttributeService, 
            IWebHelper webHelper,
            IPermissionService permissionService,
            ICacheManager cacheManager,
            IUserActivityService userActivityService,
            UserSettings userSettings, 
            SiteInformationSettings siteInformationSettings,
            EmailAccountSettings emailAccountSettings,
            CommonSettings commonSettings, 
            LocalizationSettings localizationSettings, 
            CaptchaSettings captchaSettings)
        {
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._workContext = workContext;
            this._queuedEmailService = queuedEmailService;
            this._emailAccountService = emailAccountService;
            this._sitemapGenerator = sitemapGenerator;
            this._genericAttributeService = genericAttributeService;
            this._webHelper = webHelper;
            this._permissionService = permissionService;
            this._cacheManager = cacheManager;
            this._userActivityService = userActivityService;

            this._userSettings = userSettings;
            this._siteInformationSettings = siteInformationSettings;
            this._emailAccountSettings = emailAccountSettings;
            this._commonSettings = commonSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings = captchaSettings;
        }
Example #7
0
        public UserService(ICacheManager cacheManager,
            IRepository<User> userRepository,
            IRepository<UserRole> userRoleRepository,
            IRepository<GenericAttribute> gaRepository,
            IGenericAttributeService genericAttributeService,
            IDataProvider dataProvider,
            IDbContext dbContext,
            IEventPublisher eventPublisher, 
            UserSettings userSettings,
            CommonSettings commonSettings)
        {
            this._cacheManager = cacheManager;
            this._userRepository = userRepository;
            this._userRoleRepository = userRoleRepository;
            this._gaRepository = gaRepository;

            this._genericAttributeService = genericAttributeService;
            this._dataProvider = dataProvider;
            this._dbContext = dbContext;
            this._eventPublisher = eventPublisher;
            this._userSettings = userSettings;
            this._commonSettings = commonSettings;
        }