public static RowCollection Create(string[][] data) { var c = new RowCollection(); foreach (var item in data) { c.Import(RowConf.Create(item)); } return(c); }
/// <summary> /// Write columns with the title color scheme on full width /// </summary> /// <param name="length">The length for each columns</param> /// <param name="s">The column contents</param> public static void WriteTitleLarge(LengthCollection length, string[] s) { WriteColumns(RowConf.Create(length, s).PresetTitle().SetBordered(false).SetAlignment(RowConf.ALIGNCENTER).SetHlPadding(true)); }
/// <summary> /// Write columns with the title color scheme /// </summary> /// <param name="length">The length for each columns</param> /// <param name="s">The column contents</param> public static void WriteTitle(LengthCollection length, string[] s) { WriteColumns(RowConf.Create(length, s).PresetTitle().SetBordered(false)); }
/// <summary> /// Write columns with the title color scheme /// </summary> /// <param name="s">the column contents</param> public static void WriteTitle(params string[] s) { WriteColumns(RowConf.Create(s).PresetTitle().SetBordered(false)); }
/// <summary> /// Write columns with the highlight color scheme /// </summary> /// <param name="length">The length for each columns</param> /// <param name="s">The column contents</param> public static void WriteHl(LengthCollection length, params string[] s) { WriteColumns(RowConf.Create(length, s).PresetHL()); }
/// <summary> /// Write columns with the highlight color scheme /// </summary> /// <param name="s">the column contents</param> public static void WriteHl(params string[] s) { WriteColumns(RowConf.Create(s).PresetHL()); }
/// <summary> /// Write columns /// </summary> /// <param name="s">the column contents</param> public static void WriteColumns(params string[] s) { WriteColumns(RowConf.Create(s).SetHlPadding(false)); }