/// <summary> /// 初始化类<see cref="IndentedStringBuilder"/>。 /// </summary> /// <param name="from">从当前实例再进行缩进。</param> public IndentedStringBuilder(IndentedStringBuilder from) { _indent = from._indent; }
public Indenter(IndentedStringBuilder stringBuilder) { _stringBuilder = stringBuilder; _stringBuilder.IncrementIndent(); }