public IDisposable BeginNamespace(string codeNamespace) { transform.WriteLine(string.Format("namespace {0}{1}{{", code.EscapeNamespace(codeNamespace), Environment.NewLine)); transform.PushIndent(" "); return(new CodeBlock(EndBlock)); }
public void WriteLine(string value = null, params object[] args) { _transform.WriteLine(value ?? string.Empty, args); }