/// <summary>Initialize a new instance of the RssPhotoAlbum class</summary>
        /// <param name="link">Link to the Photo Album</param>
        /// <param name="photoAlbumCategories">A collection of categories in the Photo Album to add</param>
        public RssPhotoAlbum(Uri link, RssPhotoAlbumCategories photoAlbumCategories)
        {
            base.NamespacePrefix = "photoAlbum";
            base.NamespaceURL = new Uri("http://xml.innothinx.com/photoAlbum");

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

            foreach(RssModuleItemCollection photoAlbumCategory in photoAlbumCategories)
            {
                base.ItemExtensions.Add(photoAlbumCategory);
            }
        }
示例#2
0
        /// <summary>Initialize a new instance of the RssPhotoAlbum class</summary>
        /// <param name="link">Link to the Photo Album</param>
        /// <param name="photoAlbumCategories">A collection of categories in the Photo Album to add</param>
        public RssPhotoAlbum(Uri link, RssPhotoAlbumCategories photoAlbumCategories)
        {
            base.NamespacePrefix = "photoAlbum";
            base.NamespaceURL    = new Uri("http://xml.innothinx.com/photoAlbum");

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

            foreach (RssModuleItemCollection photoAlbumCategory in photoAlbumCategories)
            {
                base.ItemExtensions.Add(photoAlbumCategory);
            }
        }