예제 #1
0
 public QueueWorker(IMessageQueue messageQueue, IVoteData data, IConfiguration config, ILogger <QueueWorker> logger)
 {
     _messageQueue = messageQueue;
     _data         = data;
     _config       = config;
     _logger       = logger;
 }
예제 #2
0
 public QueueWorker(IConfiguration config, IVoteData data, ILogger <QueueWorker> logger, IRedisStore redisStore)
 {
     _config     = config;
     _data       = data;
     _logger     = logger;
     _redisStore = redisStore;
 }