示例#1
0
文件: RCL.cs 项目: IQEX/pmat-rc-core
 public static string Wrap(string text, ConsoleColor color) => $"{color.getValue()}{text}{ConsoleColor.White.getValue()}";
示例#2
0
文件: RCL.cs 项目: IQEX/pmat-rc-core
 public static string Map(this string e, List <string> t, ConsoleColor c) => e.Map(t.ToArray(), c.getValue());
示例#3
0
文件: RCL.cs 项目: IQEX/pmat-rc-core
 public static string Map(this string e, object t, ConsoleColor c) => e.Map(t, c.getValue());
示例#4
0
 public static string Wrap(string text, ConsoleColor color)
     => $"{color.getValue()}{text}{ConsoleColor.White.getValue()}";