示例#1
0
 public DB4QueueDispatcher(AutoRestartManager autoRestartManager,
                           ILogger logger,
                           IDB4Queue queue,
                           ICommentProcessor commentProcessor,
                           IPrivateMessageProcessor privateMessageProcessor)
 {
     _autoRestartManager = autoRestartManager;
     _logger             = logger;
     _queue                   = queue;
     _commentProcessor        = commentProcessor;
     _privateMessageProcessor = privateMessageProcessor;
 }
 public RedditSharpActivityMonitor(RedditSharp.Reddit reddit,
                                   Subreddit subreddit,
                                   AutoRestartManager autoRestartManager,
                                   IActivityDispatcher activityDispatcher,
                                   IDB4Repository db4Repository,
                                   ILogger logger)
 {
     _reddit             = reddit;
     _subreddit          = subreddit;
     _autoRestartManager = autoRestartManager;
     _activityDispatcher = activityDispatcher;
     _db4Repository      = db4Repository;
     _logger             = logger;
 }