public PluginManager(ConfPlugins config, CoreInjector coreInjector, ResourceResolver resourceResolver, BotManager botManager) { this.config = config; this.coreInjector = coreInjector; this.resourceResolver = resourceResolver; this.botManager = botManager; }
public PluginManager(ConfPlugins config, CoreInjector coreInjector) { Util.Init(out plugins); Util.Init(out usedIds); this.config = config; this.coreInjector = coreInjector; }
public TwitchInfoUpdater(ConfPlugins confPlugins, string streamerLoginName) { this.streamerLoginName = streamerLoginName; var twitchConfigPath = Path.Combine(confPlugins.Path, TwitchConfigFileName); twitchConfig = JsonConvert.DeserializeObject <TwitchConfig>(File.ReadAllText(twitchConfigPath)); TokenSource = new CancellationTokenSource(); var descUpdaterThread = new Thread(TwitchInfoCollector) { IsBackground = true }; descUpdaterThread.Start(); }
public PluginManager(ConfPlugins config, CoreInjector coreInjector) { this.config = config; this.coreInjector = coreInjector; }
public PluginManager(ConfPlugins config) { Util.Init(out plugins); Util.Init(out usedIds); this.config = config; }