public Startup(IConfiguration configuration) { Configuration = configuration; twitchbot = twitchbot ?? new TwitchChatBot(); viewhelp = viewhelp ?? new ViewersHelper(); logservice = logservice ?? new LogService(); }
public static ViewersHelper GetViewer() { if (viewhelp == null) { viewhelp = new ViewersHelper(); return(viewhelp); } else { return(viewhelp); } }