public static void WriteNewLine(this TextTransformation textTransformation, int count = 1) { for (var i = 0; i < count; i++) { textTransformation.WriteLine(string.Empty); } }
public static void Block(this TextTransformation textTransformation, Action action) { WriteNewLine(textTransformation); textTransformation.WriteLine("{"); Tab(textTransformation, action); WriteNewLine(textTransformation); textTransformation.Write("}"); }