예제 #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(string photoDate, string photoDescription, Uri photoLink,
                                   RssPhotoAlbumCategoryPhotoPeople photoPeople)
 {
     Add(photoDate, photoDescription, photoLink, photoPeople);
 }
예제 #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 void Add(DateTime photoDate, string photoDescription, Uri photoLink,
                  RssPhotoAlbumCategoryPhotoPeople photoPeople)
 {
     Add(photoDate, photoDescription, photoLink);
     Add(new RssModuleItem("photoPeople", true, "", photoPeople));
 }
예제 #3
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;
 }