public Summary(XmlTag input) { if (input.Name.Equals("bullet")) { Text = input.Text; } }
public XmlTag CreateChild(string name) { XmlTag child = new XmlTag(name) { Parent = this }; Childs.Add(child); return(child); }
public Contact(XmlTag input) { foreach (XmlTag item in input.Childs) { if (item.Name == "text") { Text = item.Text; } if (item.Name == "link") { Link = item.Text; } if (item.Name == "image") { Image = item.Text; } } }