public static void WriteFormatted(string format, Formatter arg0, Formatter arg1, Formatter arg2, Formatter arg3, Color defaultColor)
 {
     WriteInColorFormatted(WRITE_TRAILER, format, new Formatter[] { arg0, arg1, arg2, arg3 }, defaultColor);
 }
 public static void WriteFormatted(string format, Formatter arg0, Formatter arg1, Color defaultColor)
 {
     WriteInColorFormatted(WRITE_TRAILER, format, arg0, arg1, defaultColor);
 }
 public static void WriteFormatted(string format, Formatter arg0, Formatter arg1, Formatter arg2, Formatter arg3, Color defaultColor)
 {
     WriteInColorFormatted(WRITE_TRAILER, format, new Formatter[] { arg0, arg1, arg2, arg3 }, defaultColor);
 }
Exemplo n.º 4
0
        private static void WriteInColorFormatted<T>(string trailer, T target0, Formatter target1, Formatter target2, Formatter target3, Color defaultColor)
        {
            TextFormatter styler = new TextFormatter(defaultColor);
            List<KeyValuePair<string, Color>> formatMap = styler.GetFormatMap(target0.ToString(), new object[] { target1.Target, target2.Target, target3.Target }, new Color[] { target1.Color, target2.Color, target3.Color });

            MapToScreen(formatMap, trailer);
        }
 public static void WriteFormatted(string format, Formatter arg0, Formatter arg1, Color defaultColor)
 {
     WriteInColorFormatted(WRITE_TRAILER, format, arg0, arg1, defaultColor);
 }