Exemplo n.º 1
0
 public ColorTextBuilder AppendLine(ColorTextBuilder builder)
 {
     TextFragments.AddRange(builder.TextFragments);
     TextFragments.Add(new ColoredTextFragment(Environment.NewLine));
     return(this);
 }
Exemplo n.º 2
0
 public ColorTextBuilder Append(Func <int, ColorTextBuilder> action)
 {
     TextFragments.AddRange(action.Invoke(Length).TextFragments);
     return(this);
 }
Exemplo n.º 3
0
 public ColorTextBuilder Append(ColorTextBuilder builder)
 {
     TextFragments.AddRange(builder.TextFragments);
     return(this);
 }