Exemple #1
0
 public Summary(XmlTag input)
 {
     if (input.Name.Equals("bullet"))
     {
         Text = input.Text;
     }
 }
Exemple #2
0
        public XmlTag CreateChild(string name)
        {
            XmlTag child = new XmlTag(name)
            {
                Parent = this
            };

            Childs.Add(child);
            return(child);
        }
Exemple #3
0
 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;
         }
     }
 }