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