public UserJobController(ITwitchIntegration twitchIntegration, IUserRepository userRepository, IStreamHealthLogger streamHealthLogger, ILogger <UserJobController> logger)
 {
     _twitchIntegration  = twitchIntegration;
     _userRepository     = userRepository;
     _streamHealthLogger = streamHealthLogger;
     _logger             = logger;
 }
Example #2
0
        public HealthCheckerMain(ITwitchIntegration twitchIntegration, IUserRepository userRepository, UserJobController backpackVideoFeedHealthChecker, ILogger <HealthCheckerMain> logger)
        {
            _twitchIntegration = twitchIntegration ?? throw new ArgumentNullException(nameof(twitchIntegration));

            _twitchIntegration.OnConnected += async(sender, eventArgs) => await TwitchIntegration_OnConnected().ConfigureAwait(false);

            _backpackVideoFeedHealthChecker = backpackVideoFeedHealthChecker;
            _userRepository = userRepository;
            _logger         = logger;
        }
Example #3
0
 public UserController(ITwitchIntegration twitchIntegration, ITwitterIntegration twitterIntegration, IUserManager userManager,
                       IUserRatingManager userRatingManager, IRatingManager ratingManager, ISessionHelper sessionHelper, IYoutubeIntegration youtubeInegration)
 {
     _twitchIntegration  = twitchIntegration;
     _twitterIntegration = twitterIntegration;
     _userManager        = userManager;
     _userRatingManger   = userRatingManager;
     _ratingManager      = ratingManager;
     _sessionHelper      = sessionHelper;
     _youtubeIntegration = youtubeInegration;
 }
Example #4
0
 public UserJob(User user, ITwitchIntegration twitchIntegration, IStreamHealthLogger streamHealthLogger)
 {
     _user = user;
     _twitchIntegration  = twitchIntegration;
     _streamHealthLogger = streamHealthLogger;
 }
 public TwitchController(ITwitchIntegration twitchIntegration, ISessionHelper sessionHelper)
 {
     _twitchIntegration = twitchIntegration;
     _sessionHelper     = sessionHelper;
 }