/// <summary> /// Appends the given text color control character to the message, and executes the specified action. /// </summary> /// <param name="this">this message builder</param> /// <param name="action"></param> /// <returns></returns> public static MessageEntryBuilder.MessageBuilder TextColor(this MessageEntryBuilder.MessageBuilder @this, char color, Action action) { @this.PushTextColor(color); action(); @this.PopTextColor(); return(@this); }