Ejemplo n.º 1
0
 public CodeWriterSettings(CodeWriterSettings o)
 {
     Indent     = o.Indent;
     BlockBegin = o.BlockBegin;
     BlockEnd   = o.BlockEnd;
     NewLine    = o.NewLine;
     NewLineBeforeBlockBegin = o.NewLineBeforeBlockBegin;
     TranslationMapping      = new Dictionary <string, string>(o.TranslationMapping);
 }
Ejemplo n.º 2
0
 public CodeWriter(CodeWriterSettings settings)
 {
     _settings = settings;
     _sb       = new StringBuilder();
     _indent   = 0;
 }