Exemple #1
0
            internal BracedIndentScope(SourceCodeBuilder builder)
            {
                _builder = builder;

                _builder.WriteLine("{");

                _indenter = builder.Indent;
            }
Exemple #2
0
            public void Dispose()
            {
                _indenter.Dispose();

                _builder.WriteLine("}");
            }
Exemple #3
0
 private void _(string text, params object[] args)
 {
     WriteDebugComment();
     _builder.WriteLine(text, args);
 }
Exemple #4
0
            internal BracedIndentScope(SourceCodeBuilder builder)
            {
                _builder = builder;

                _builder.WriteLine("{");

                _indenter = builder.Indent;
            }