Example #1
0
 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;
 }
Example #3
0
 public AbTestingService(IAbTestRepository abTestRepository)
 {
     _abTestRepository = abTestRepository;
 }
Example #4
0
 private IAbTestingService Service(IAbTestRepository repository)
 {
     return(new AbTestingService(repository));
 }