Пример #1
0
 public static IDisposable Indent(this IndentedTextWriter writer, int indent = 1)
 {
     writer.AddIndent(indent);
     return(Disposable.Create(writer, w => w.RemoveIndent(indent)));
 }