コード例 #1
0
 public RemoveCartController(IProductCache productCache, IKafkaLogger kafkaLogger, IHostCache hostCache, IOptions <ScriptAPISetting> options)
 {
     _kafkaLogger    = kafkaLogger;
     _hostCache      = hostCache;
     _productCache   = productCache;
     _configurations = options.Value;
 }
コード例 #2
0
 public BuyCartController(IHostScriptChecker hostScriptChecker, IProductCache productCache, IKafkaLogger kafkaLogger, IErrorLogger errorLogger, IOptions <ScriptAPISetting> options, IHostCache hostDictionary)
 {
     _kafkaLogger       = kafkaLogger;
     _configurations    = options.Value;
     _hostScriptChecker = hostScriptChecker;
     _productCache      = productCache;
     _errorLogger       = errorLogger;
     _hostDictionary    = hostDictionary;
 }
コード例 #3
0
 public IFrameHandler(RequestDelegate next, IUserIdSetter userIdSetter, ICrowlerCache crowlerCache, IErrorLogger errorLogger, IOptions <ScriptAPISetting> configuration, IHostCache hostDictionary, IPartnerCache partnersManager)
 {
     _partnerCache  = partnersManager;
     _hostCache     = hostDictionary;
     _userIdSetter  = userIdSetter;
     _crowlerCache  = crowlerCache;
     _errorLogger   = errorLogger;
     _configuration = configuration.Value;
 }
コード例 #4
0
ファイル: FavController.cs プロジェクト: jangocheng/Sticky
 public FavController(IProductCache productCache, IHostScriptChecker hostScriptChecker, IKafkaLogger kafkaLogger, IHostCache hostCache, IErrorLogger errorLogger, IOptions <ScriptAPISetting> options)
 {
     _kafkaLogger       = kafkaLogger;
     _hostScriptChecker = hostScriptChecker;
     _configurations    = options.Value;
     _hostCache         = hostCache;
     _productCache      = productCache;
     _errorLogger       = errorLogger;
 }
コード例 #5
0
 public PageLoggerController(IOptions <ScriptAPISetting> conf, IHostScriptChecker hostScriptChecker, IKafkaLogger kafkaLogger, IErrorLogger errorLogger, ICrowlerCache crowlerCache, IHostCache hostDictionary, ITotalVisitUpdater totalVisitUpdater)
 {
     _kafkaLogger       = kafkaLogger;
     _hostCache         = hostDictionary;
     _hostScriptChecker = hostScriptChecker;
     _crowlerCache      = crowlerCache;
     _errorLogger       = errorLogger;
     _totalVisitUpdater = totalVisitUpdater;
     _configurations    = conf.Value;
 }
コード例 #6
0
 public AdToCartController(IOptions <ScriptAPISetting> conf, IHostScriptChecker hostScriptChecker, IKafkaLogger kafkaLogger, IProductCache productCache, IErrorLogger errorLogger, ITotalVisitUpdater totalVisitUpdater, IHostCache hostCache)
 {
     _kafkaLogger       = kafkaLogger;
     _errorLogger       = errorLogger;
     _hostScriptChecker = hostScriptChecker;
     _hostCache         = hostCache;
     _productCache      = productCache;
     _totalVisitUpdater = totalVisitUpdater;
     _configurations    = conf.Value;
 }
コード例 #7
0
 public ProductUpdateController(IHostCache hostCache, IHostScriptChecker hostScriptChecker, IProductCache productCache, ICrowlerCache crowlerCache, IKafkaLogger kafkaLogger, ICategoryLogger categoryLogger, IErrorLogger errorLogger, IOptions <ScriptAPISetting> options, ITotalVisitUpdater totalVisitUpdater)
 {
     _kafkaLogger       = kafkaLogger;
     _categoryLogger    = categoryLogger;
     _hostScriptChecker = hostScriptChecker;
     _productCache      = productCache;
     _errorLogger       = errorLogger;
     _crowlerCache      = crowlerCache;
     _configurations    = options.Value;
     _hostCache         = hostCache;
     _totalVisitUpdater = totalVisitUpdater;
 }
コード例 #8
0
 public TotalVisitUpdater(IRedisCache redisCache, IHostCache hostCache)
 {
     _redisCache = redisCache;
     _hostCache  = hostCache;
 }