public AbTestService(IAbTestRepository abTestRepository, ICacheProvider cacheProvider, AbTestingCacheSettings abTestingCacheSettings, AbTestingQpSettings abTestingQpSettings, IOnScreenContextProvider onScreenContextProvider, IQpContentCacheTagNamingProvider qpContentCacheTagNamingProvider) { _abTestRepository = abTestRepository; _cacheProvider = cacheProvider; _abTestingCacheSettings = abTestingCacheSettings; _abTestingQpSettings = abTestingQpSettings; _onScreenContextProvider = onScreenContextProvider; _qpContentCacheTagNamingProvider = qpContentCacheTagNamingProvider; }
public ApiController(IMetaInfoRepository metaInfoRepository, IItemDefinitionRepository itemDefinitionRepository, DBConnector dbConnector, IAbTestRepository abTestRepository, IQpUrlResolver qpUrlResolver, ICacheProvider cacheProvider, IQpContentCacheTagNamingProvider qpContentCacheTagNamingProvider) { _metaInfoRepository = metaInfoRepository; _itemDefinitionRepository = itemDefinitionRepository; _dbConnector = dbConnector; _qpUrlResolver = qpUrlResolver; _abTestRepository = abTestRepository; _cacheProvider = cacheProvider; _qpContentCacheTagNamingProvider = qpContentCacheTagNamingProvider; }
public AbTestingService(IAbTestRepository abTestRepository) { _abTestRepository = abTestRepository; }
private IAbTestingService Service(IAbTestRepository repository) { return(new AbTestingService(repository)); }