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); }
public CodeWriter(CodeWriterSettings settings) { _settings = settings; _sb = new StringBuilder(); _indent = 0; }