示例#1
0
        /// <summary>
        ///     Provide deafault string aligner with columnCount columns
        /// </summary>
        /// <param name="columnCount"></param>
        /// <returns></returns>
        public static StringAligner StringAligner(this int columnCount)
        {
            var stringAligner = new StringAligner();

            for (var i = 0; i < columnCount; i++)
            {
                stringAligner.AddFloatingColumn("  ");
            }
            return(stringAligner);
        }
 /// <summary>
 /// Provide deafault string aligner with columnCount columns
 /// </summary>
 /// <param name="columnCount"></param>
 /// <returns></returns>
 public static StringAligner StringAligner(this int columnCount)
 {
     var stringAligner = new StringAligner();
     for (var i = 0; i < columnCount; i++)
         stringAligner.AddFloatingColumn("  ");
     return stringAligner;
 }