Inheritance: System.IO.TextWriter
 public HtmlWriter(TextWriter writer, string indentString, int maxLineLength)
 {
     _baseWriter    = writer;
     _maxLineLength = maxLineLength;
     _writer        = new FormattedTextWriter(_baseWriter, indentString);
 }
 public virtual void WriteLiteral(string s, bool frontWhiteSpace)
 {
     _writer.WriteLiteralWrapped(FormattedTextWriter.Trim(s, frontWhiteSpace), _maxLineLength);
 }
示例#3
0
 public HtmlWriter(TextWriter writer, string indentString, int maxLineLength)
 {
     _baseWriter = writer;
     _maxLineLength = maxLineLength;
     _writer = new FormattedTextWriter(_baseWriter, indentString);
 }