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