Beispiel #1
0
 public void SendMessage(string message)
 {
     this.SendLine("{0}{1}{0} {2}",
                   ANSI.SetColorANSI16("-", ANSI.ANSIColor_16.BrightYellow),
                   ANSI.SetColorANSI16("♦", ANSI.ANSIColor_16.White),
                   ANSI.SetColorANSI16(message, messageColor));
 }
Beispiel #2
0
        public void SendSucessMessage(string message, string status)
        {
            this.SendFormat("{0}{1}{0} {2}",
                            ANSI.SetColorANSI16("-", ANSI.ANSIColor_16.BrightCyan),
                            ANSI.SetColorANSI16("♦", ANSI.ANSIColor_16.White),
                            ANSI.SetColorANSI16(message.PadRight(60), messageColor));

            this.SendFormat("{2}[ {0}{1}{2} ]\r\n",
                            ANSI.ColorANSI16(ANSI.ANSIColor_16.Green),
                            status,
                            ANSI.ClearFormat()
                            );
        }