/// <summary> /// Get child messages /// </summary> /// <returns>A collection of child messages</returns> public ICollection <Message> GetChildMessages() { MessageIds childMessageIds = monitor.GetChildMessages(messageId); if (childMessageIds != null) { ICollection <Message> messageList = new List <Message>(); foreach (MessageId childId in childMessageIds) { messageList.Add(new Message(childId, monitor)); } return(messageList); } return(null); }