public FlagSettingRepository(IMXConfigurationMongoRepository repository)
        {
            _repository = repository;

            _redisCache = new MXRedisCacheRepository(ConfigurationManager.AppSettings["redisConnectionString"].ToString(),
                                                     MXCacheDatabaseName.FlagSettings);
        }
        public FlagSettingRepository(IMXConfigurationMongoRepository repository)
        {
            _repository = repository;

            _redisCache = new MXRedisCacheRepository(ConfigurationManager.AppSettings["redisConnectionString"].ToString(),
                                                    MXCacheDatabaseName.FlagSettings);
        }
 public InitialConfigurationRepository(IMXBusinessMongoRepository bRepository, 
     IMXProductCatalogMongoRepository pcRepository,
     IMXConfigurationMongoRepository cRepository,
     IBookSearchRepository bookSearchRepository)
 {
     this._bRepository = bRepository;
     this._pcRepository = pcRepository;
     this._cRepository = cRepository;
     _redisCache = new MXRedisCacheRepository(ConfigurationManager.AppSettings["redisConnectionString"].ToString(),
                                             MXCacheDatabaseName.FlagSettings);
     _bookSearchRepository = bookSearchRepository;
 }
Exemple #4
0
 public InitialConfigurationRepository(IMXBusinessMongoRepository bRepository,
                                       IMXProductCatalogMongoRepository pcRepository,
                                       IMXConfigurationMongoRepository cRepository,
                                       IBookSearchRepository bookSearchRepository)
 {
     this._bRepository  = bRepository;
     this._pcRepository = pcRepository;
     this._cRepository  = cRepository;
     _redisCache        = new MXRedisCacheRepository(ConfigurationManager.AppSettings["redisConnectionString"].ToString(),
                                                     MXCacheDatabaseName.FlagSettings);
     _bookSearchRepository = bookSearchRepository;
 }