Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }