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 #2
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;
 }
Exemple #3
0
 public BookRepository(IMXRabbitClient queueClient, IMXProductCatalogMongoRepository productCatalogMongoRepository, IBookSearchRepository bookSearchRepository)
 {
     _queueClient = queueClient;
     _productCatalogMongoRepository = productCatalogMongoRepository;
     _bookSearchRepository = bookSearchRepository;
 }
Exemple #4
0
 public BookProcessor(IMXProductCatalogMongoRepository pcRepository, IBookSearchRepository bookSearchRepository)
 {
     _pcRepository         = pcRepository;
     _bookSearchRepository = bookSearchRepository;
 }
Exemple #5
0
 public BookProcessor(IMXProductCatalogMongoRepository pcRepository, IBookSearchRepository bookSearchRepository)
 {
     _pcRepository = pcRepository;
     _bookSearchRepository = bookSearchRepository;
 }
 public BookRepository(IMXRabbitClient queueClient, IMXProductCatalogMongoRepository productCatalogMongoRepository, IBookSearchRepository bookSearchRepository)
 {
     _queueClient = queueClient;
     _productCatalogMongoRepository = productCatalogMongoRepository;
     _bookSearchRepository          = bookSearchRepository;
 }