/// <summary> /// Creates a new ChatMessage. /// </summary> /// <param name="messageText">Message text</param> public ChatMessage(string messageText) { TextStyle = new MessageTextStyle(); MessageText = messageText; }
/// <summary> /// Creates a new ChatMessage. /// </summary> /// <param name="messageText">Message text</param> /// <param name="textStyle">Text style of this message</param> public ChatMessage(string messageText, MessageTextStyle textStyle) { TextStyle = textStyle; MessageText = messageText; }
/// <summary> /// Creates a new ChatMessage. /// </summary> public ChatMessage() { TextStyle = new MessageTextStyle(); MessageText = ""; }
/// <summary> /// Constructor. /// </summary> private UserPreferences() { IsSoundOn = true; TextStyle = new MessageTextStyle(); }