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;
 }
Пример #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;
 }
Пример #3
0
 public BookRepository(IMXRabbitClient queueClient, IMXProductCatalogMongoRepository productCatalogMongoRepository, IBookSearchRepository bookSearchRepository)
 {
     _queueClient = queueClient;
     _productCatalogMongoRepository = productCatalogMongoRepository;
     _bookSearchRepository = bookSearchRepository;
 }
Пример #4
0
 public BookProcessor(IMXProductCatalogMongoRepository pcRepository, IBookSearchRepository bookSearchRepository)
 {
     _pcRepository         = pcRepository;
     _bookSearchRepository = bookSearchRepository;
 }
 public BookInteractor(IBookRepository repo, IBookSearchRepository search)
 {
     this._repo             = repo;
     this._searchRepository = search;
 }
Пример #6
0
 public BookProcessor(IMXProductCatalogMongoRepository pcRepository, IBookSearchRepository bookSearchRepository)
 {
     _pcRepository = pcRepository;
     _bookSearchRepository = bookSearchRepository;
 }
Пример #7
0
 public BookRepository(IMXRabbitClient queueClient, IMXProductCatalogMongoRepository productCatalogMongoRepository, IBookSearchRepository bookSearchRepository)
 {
     _queueClient = queueClient;
     _productCatalogMongoRepository = productCatalogMongoRepository;
     _bookSearchRepository          = bookSearchRepository;
 }