Exemplo n.º 1
0
 /// <summary>
 /// Writes a tokenized string, each chunk with its color specification
 /// </summary>
 /// <param name="value">The value to write</param>
 /// <param name="parser">A parser that implements <see cref="ITokenizeString"/></param>
 public IConsole Write(string value, ITokenizeString parser)
 {
     return(Write(parser.Parse(value)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Writes a tokenized string, each chunk with its color specification
 /// </summary>
 /// <param name="value">The value to write</param>
 /// <param name="parser">A parser that implements <see cref="ITokenizeString"/></param>
 public IConsole WriteLine(string value, ITokenizeString parser)
 {
     WriteLine(parser.Parse(value));
     return(this);
 }