Esempio n. 1
0
 public AtomChannel()
 {
     Title      = new AtomText();
     TagLine    = new AtomText();
     Generator  = new AtomGenerator();
     Info       = new AtomText();
     Subtitle   = new AtomText();
     Rights     = new AtomRights();
     Links      = new AtomLinksCollection();
     Categories = new AtomCategoriesCollection();
 }
Esempio n. 2
0
 public AtomEntry()
 {
     Title        = new AtomText();
     Content      = new AtomText();
     Summary      = new AtomText();
     Links        = new AtomLinksCollection();
     Authors      = new AtomPersonsCollection();
     Contributors = new AtomPersonsCollection();
     Categories   = new AtomCategoriesCollection();
     Source       = new AtomSource();
     Rights       = new AtomRights();
 }
Esempio n. 3
0
        /// <summary>
        ///		Obtiene una colección con los vínculos de un tipo
        /// </summary>
        public AtomLinksCollection Search(AtomLink.AtomLinkType intLinkType)
        {
            AtomLinksCollection objColLinks = new AtomLinksCollection();

            // Busca en la colección
            foreach (AtomLink link in this)
            {
                if (link.LinkType == intLinkType)
                {
                    objColLinks.Add(link);
                }
            }
            // Devuelve la colección de vínculos encontrados
            return(objColLinks);
        }