internal static ClientRunListBase GetClientRunList(this LogFileType logFileType) { if (logFileType.Equals(LogFileType.Legacy)) { return(Activator.CreateInstance <ClientRunListLegacy>()); } return(Activator.CreateInstance <ClientRunList>()); }
internal static LogLineParserBase GetLogLineParser(this LogFileType logFileType) { if (logFileType.Equals(LogFileType.Legacy)) { return(Activator.CreateInstance <LogLineParserLegacy>()); } return(Activator.CreateInstance <LogLineParser>()); }
internal static LogLineListBase GetLogLineList(this LogFileType logFileType) { if (logFileType.Equals(LogFileType.Legacy)) { return((LogLineListBase)Activator.CreateInstance(typeof(LogLineListLegacy), logFileType)); } return((LogLineListBase)Activator.CreateInstance(typeof(LogLineList), logFileType)); }