Exemplo n.º 1
0
 /// <summary>
 /// Adds the comment block.
 /// </summary>
 /// <param name="lines">The lines.</param>
 /// <param name="comments">The comments.</param>
 public static void AddCommentBlock(this IList <string> lines, IEnumerable <string> comments)
 {
     lines.AddCommentBar();
     lines.AddComments(comments);
     lines.AddCommentBar();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds the comment block.
 /// </summary>
 /// <param name="lines">The lines.</param>
 /// <param name="comments">The comments.</param>
 public static void AddCommentBlock(this IList <string> lines, string comments)
 {
     lines.AddCommentBar();
     lines.AddComments(comments);
     lines.AddCommentBar();
 }