Exemplo n.º 1
0
        /// <summary>Initialize a new instance of the RssPhotoAlbum class</summary>
        /// <param name="link">Link to the Photo Album</param>
        /// <param name="photoAlbumCategory">The category of the Photo Album to add</param>
        public RssPhotoAlbum(Uri link, RssPhotoAlbumCategory photoAlbumCategory)
        {
            base.NamespacePrefix = "photoAlbum";
            base.NamespaceURL = new Uri("http://xml.innothinx.com/photoAlbum");

            base.ChannelExtensions.Add(new RssModuleItem("link", true, RssDefault.Check(link).ToString()));

            base.ItemExtensions.Add(photoAlbumCategory);
        }
Exemplo n.º 2
0
        /// <summary>Initialize a new instance of the RssPhotoAlbum class</summary>
        /// <param name="link">Link to the Photo Album</param>
        /// <param name="photoAlbumCategory">The category of the Photo Album to add</param>
        public RssPhotoAlbum(Uri link, RssPhotoAlbumCategory photoAlbumCategory)
        {
            base.NamespacePrefix = "photoAlbum";
            base.NamespaceURL    = new Uri("http://xml.innothinx.com/photoAlbum");

            base.ChannelExtensions.Add(new RssModuleItem("link", true, RssDefault.Check(link).ToString()));

            base.ItemExtensions.Add(photoAlbumCategory);
        }
Exemplo n.º 3
0
 /// <summary>Adds a sepecified category to this collection.</summary>
 /// <param name="category">The category to add.</param>
 /// <returns>The zero-based index of the added item.</returns>
 public int Add(RssPhotoAlbumCategory category)
 {
     return base.Add(category);
 }
Exemplo n.º 4
0
 /// <summary>Adds a sepecified category to this collection.</summary>
 /// <param name="category">The category to add.</param>
 /// <returns>The zero-based index of the added item.</returns>
 public int Add(RssPhotoAlbumCategory category)
 {
     return(base.Add(category));
 }