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

                _stringBuilder.IncrementIndent();
            }