Skip to main content

StringBuilderReplacer

A class in Root.Township, the global namespace.

BaseReplacer that holds a StringBuilder for building replacement text for its target.

Constructors​

MemberWhat it is
StringBuilderReplacer(string target)Creates a StringBuilderReplacer from target.

Fields​

2 private and internal fields
MemberWhat it is
private StringBuilder builderThe string builder.
private string identationIndentation string; set to empty and never used here.

Methods​

MemberWhat it is
void Append(string text)Adds text to the builder.
void AppendLine(string line)Adds a line to the builder.
override string ToString()Returns the built text.