Esempio n. 1
0
 public static void OutputWarning(this ITerminal terminal, string content) => terminal.OutputColor(ForegroundColorSpan.Yellow(), content);
Esempio n. 2
0
 public static TextSpan Yellow(this string value) =>
 new ContainerSpan(ForegroundColorSpan.Yellow(),
                   new ContentSpan(value),
                   ForegroundColorSpan.Reset());
Esempio n. 3
0
 public void WriteWarning(string content) => WriteColor(ForegroundColorSpan.Yellow(), content);