예제 #1
0
        public static RowCollection Create(string[][] data)
        {
            var c = new RowCollection();

            foreach (var item in data)
            {
                c.Import(RowConf.Create(item));
            }
            return(c);
        }
예제 #2
0
 /// <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));
 }
예제 #3
0
 /// <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));
 }
예제 #4
0
 /// <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));
 }
예제 #5
0
 /// <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());
 }
예제 #6
0
 /// <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());
 }
예제 #7
0
 /// <summary>
 /// Write columns
 /// </summary>
 /// <param name="s">the column contents</param>
 public static void WriteColumns(params string[] s)
 {
     WriteColumns(RowConf.Create(s).SetHlPadding(false));
 }