public FollowSubscriber( Config.BotConfiguration botConfig, Config.IExternalWebAccessConfiguration webAccessConfiguration, ICommunication communication, Notifications.IFollowerHandler followerHandler, HelixHelper helixHelper, IServiceScopeFactory scopeFactory) { this.botConfig = botConfig; webAccessConfig = webAccessConfiguration; this.communication = communication; this.followerHandler = followerHandler; this.helixHelper = helixHelper; this.scopeFactory = scopeFactory; }
public StreamChangeSubscriber( Config.BotConfiguration botConfig, Config.IExternalWebAccessConfiguration webAccessConfiguration, ICommunication communication, HelixHelper helixHelper, IEnumerable <IStreamLiveListener> streamLiveListeners, IEnumerable <IStreamDetailListener> streamDetailListeners) { this.botConfig = botConfig; webAccessConfig = webAccessConfiguration; this.communication = communication; this.helixHelper = helixHelper; this.streamLiveListeners = streamLiveListeners.ToArray(); this.streamDetailListeners = streamDetailListeners.ToArray(); }