/// <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; }
public static string Format(this string x, StringAligner aligner) { return(aligner.Format(x)); }
public static string Format(this string x, StringAligner aligner) { return aligner.Format(x); }