public SiteProvider(IBaseDir baseDir, IMembershipProvider membershipProvider, IElementRepositoryFactory elementRepositoryFactory, SiteDBContext dbContext) : base(baseDir, membershipProvider, elementRepositoryFactory) { this._dbContext = dbContext; urlRedirectProvider = new UrlRedirectsProvider.UrlRedirectProvider(_dbContext); customErrorProvider = new CustomErrorsProvider.CustomErrorProvider(_dbContext); //aBPageTestResultProvider = new ABTestProvider.ABPageTestResultProvider(_dbContext); aBRuleSettingsProvider = new ABTestProvider.ABRuleSettingsProvider(_dbContext, baseDir); aBPageSettingsProvider = new ABTestProvider.ABPageSettingsProvider(_dbContext); }
//ABTestProvider.ABSiteSettingProvider abSiteSettingProvider; public SiteProvider(IBaseDir baseDir, IMembershipProvider membershipProvider, IElementRepositoryFactory elementRepositoryFactory, SiteInitializer initializer) : base(baseDir, membershipProvider, elementRepositoryFactory) { customErrorProvider = new CustomErrorProvider.CustomErrorProvider(); urlRedirectProvider = new UrlRedirectProvider.UrlRedirectProvider(); abPageSettingProvider = new ABTestProvider.ABPageSettingProvider(); abRuleSettingProvider = new ABTestProvider.ABRuleSettingProvider(); //abSiteSettingProvider = new ABTestProvider.ABSiteSettingProvider(); _initializer = initializer; }
public SiteProvider(IBaseDir baseDir, IMembershipProvider membershipProvider, IElementRepositoryFactory elementRepositoryFactory, SiteInitializer initializer) : base(baseDir, membershipProvider, elementRepositoryFactory) { _initializer = initializer; }
public LabelManager(IElementRepositoryFactory elementRepositoryFactory) { this._elementRepositoryFactory = elementRepositoryFactory; }
public SiteProvider(IBaseDir baseDir, IMembershipProvider membershipProvider, IElementRepositoryFactory elementRepositoryFactory) { this.baseDir = baseDir; this._membershipProvider = membershipProvider; this._elementRepositoryFactory = elementRepositoryFactory; }