Ejemplo n.º 1
0
 public override void Write(string value)
 {
     if (!String.IsNullOrEmpty(value.Trim()))
     {
         _console.NotifyMessage(value);
     }
 }
Ejemplo n.º 2
0
 public void Write(string text, Style style)
 {
     // TODO: style
     _console.NotifyMessage(text);
 }
Ejemplo n.º 3
0
 public override void Flush()
 {
     _console.NotifyMessage(Encoding.UTF8.GetString(_buffer.ToArray()));
     _buffer.SetLength(0);
 }