Beispiel #1
0
        public string Flush()
        {
            var str = buffer.ToString();

            buffer.Clear();
            return(str);
        }
Beispiel #2
0
 public override async Task Render(Graphics graphics)
 {
     await Task.Run(() =>
     {
         graphics.DrawString(
             _stringBuilder.ToString(),
             PrimaryFont,
             PrimaryBrush,
             Area,
             PrimaryFormat
             );
     });
 }
Beispiel #3
0
 internal void OnDeserializing(StreamingContext context)
 {
     log = logStringBuilder.ToString();
 }