public CheerHelper( Config.BotConfiguration botConfig, HelixHelper helixHelper) { this.botConfig = botConfig; this.helixHelper = helixHelper; }
public WebSubHandler( ICommunication communication, HelixHelper helixHelper, IEnumerable <IWebSubSubscriber> webSubSubscribers) { this.communication = communication; this.helixHelper = helixHelper; this.webSubSubscribers = webSubSubscribers.ToArray(); }
public TTTASRedemptionHandler( Core.ICommunication communication, ITTTASHandler tttasHandler, TTTASConfiguration tttasConfig, HelixHelper helixHelper) { this.communication = communication; this.tttasHandler = tttasHandler; this.tttasConfig = tttasConfig; this.helixHelper = helixHelper; }
private void PreserveConfigFiles(string fileNamePrefix) { HelixHelper.PreserveFile(Path.Combine(DeploymentParameters.PublishedApplicationRootPath, "web.config"), fileNamePrefix + ".web.config"); HelixHelper.PreserveFile(Path.Combine(_configPath, "applicationHost.config"), fileNamePrefix + ".applicationHost.config"); HelixHelper.PreserveFile(Path.Combine(Environment.SystemDirectory, @"inetsrv\config\ApplicationHost.config"), fileNamePrefix + ".inetsrv.applicationHost.config"); HelixHelper.PreserveFile(Path.Combine(Environment.SystemDirectory, @"inetsrv\config\redirection.config"), fileNamePrefix + ".inetsrv.redirection.config"); var tmpFile = Path.GetRandomFileName(); File.WriteAllText(tmpFile, DumpServerManagerConfig()); HelixHelper.PreserveFile(tmpFile, fileNamePrefix + ".serverManager.dump.txt"); }
public ShoutOutSystem( Config.BotConfiguration botConfig, ICommunication communication, IUserHelper userHelper, HelixHelper helixHelper) { this.botConfig = botConfig; this.communication = communication; this.userHelper = userHelper; this.helixHelper = helixHelper; }
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(); }
public static string GetTargetHelixQueue() => HelixHelper.GetTargetHelixQueue();
public static bool OnHelix() => HelixHelper.OnHelix();