/// <summary>Initialize a new instance of the RssPhotoAlbumItemPhoto class</summary> /// <param name="photoDate">Date of the Photo</param> /// <param name="photoDescription">Description of the photo.</param> /// <param name="photoPeople">People to add to the photo.</param> /// <param name="photoLink">Direct link of the photo.</param> public RssPhotoAlbumCategoryPhoto(DateTime photoDate, string photoDescription, Uri photoLink, RssPhotoAlbumCategoryPhotoPeople photoPeople) { Add(photoDate, photoDescription, photoLink, photoPeople); }
/// <summary>Adds a specified item to this collection.</summary> /// <param name="photoDate">Date of the Photo</param> /// <param name="photoDescription">Description of the photo.</param> /// <param name="photoPeople">People to add to the photo.</param> /// <param name="photoLink">Direct link of the photo.</param> /// <returns>The zero-based index of the added item.</returns> private int Add(string photoDate, string photoDescription, Uri photoLink, RssPhotoAlbumCategoryPhotoPeople photoPeople) { Add(photoDate, photoDescription, photoLink); base.Add(new RssModuleItem("photoPeople", true, "", photoPeople)); return(-1); }