Exemplo n.º 1
0
 StringBuilder BuildString(StringBuilder builder, Parse moreNodes)
 {
     builder.Append(Leader);
     builder.Append(Tag);
     if (Parts != null)
     {
         builder.Append(Parts.BuildString(new StringBuilder(), Parts.More));
     }
     builder.Append(Body);
     builder.Append(End);
     if (moreNodes != null)
     {
         return(builder.Append(moreNodes.BuildString(new StringBuilder(), moreNodes.More)));
     }
     builder.Append(Trailer);
     return(builder);
 }