public IDisposable BeginNamespace(string codeNamespace)
 {
     transform.WriteLine(string.Format("namespace {0}{1}{{",
                                       code.EscapeNamespace(codeNamespace),
                                       Environment.NewLine));
     transform.PushIndent("    ");
     return(new CodeBlock(EndBlock));
 }
Пример #2
0
 public void PushIndent()
 {
     _transform.PushIndent(_indent);
 }