public static void GenerateHtmlTable <T>(this Table <T> table, TextWriter writer) { if (table == null) { throw new ArgumentNullException("table"); } HtmlTableGenerator <T> generator = new HtmlTableGenerator <T>(table); generator.Generate(writer); }
public static void GenerateHtmlTable <T>(this Table <T> table, string path) { if (table == null) { throw new ArgumentNullException("table"); } HtmlTableGenerator <T> generator = new HtmlTableGenerator <T>(table); generator.Generate(path); }
public static string GenerateHtmlTable <T>(this Table <T> table) { if (table == null) { throw new ArgumentNullException("table"); } HtmlTableGenerator <T> generator = new HtmlTableGenerator <T>(table); return(generator.Generate()); }