Exemplo n.º 1
0
 public Task Write(FormattedText text)
 {
     return _ownerContext.PostAsync(async () => await _host.Write(text));
 }
Exemplo n.º 2
0
 public static async Task WriteLine(this IConsoleHost self, FormattedText line)
 {
     await self.Write(line);
     await self.InsertLineBreak();
 }