Exemplo n.º 1
0
 public override void WriteRaw(char[] buffer, int index, int count)
 {
     if (!_inAttr && (_inCDataSection || StartCDataSection()))
     {
         _wrapped.WriteCData(new string(buffer, index, count));
     }
     else
     {
         _wrapped.WriteRaw(buffer, index, count);
     }
 }
Exemplo n.º 2
0
 public override void WriteRaw(string data)
 {
     if (TextBlockCreatesWriter(data))
     {
         _wrapped.WriteRaw(data);
     }
     else
     {
         _eventCache.WriteRaw(data);
     }
 }
Exemplo n.º 3
0
 internal override void WriteChars(char[] chars, int index, int count)
 {
     _rawWriter.WriteRaw(chars, index, count);
 }