Example #1
0
 /// <summary>
 /// Indents then write provided string followed by newline
 /// </summary>
 /// <param name="self"></param>
 /// <param name="str"></param>
 /// <param name="ctx"></param>
 public static void IndentAndWriteLine(this ICodeWriter self, string str, Context ctx)
 {
     self.IndentAndWrite(str, ctx);
     self.NewLine();
 }
Example #2
0
 /// <summary>
 /// Writes provided string followed by a new line
 /// </summary>
 /// <param name="self"></param>
 /// <param name="str"></param>
 public static void WriteLine(this ICodeWriter self, string str)
 {
     self.Write(str);
     self.NewLine();
 }