예제 #1
0
        /// <summary>
        /// Retrieves a collection of photos contained in the directory.
        /// </summary>
        /// <returns>A collection of Photo objects.</returns>
        public Photos GetPhotos()
        {
            if (photos == null)
            {
                photos = PhotoUtilities.GetPhotos(token, this);
            }

            return(photos);
        }
예제 #2
0
 public Photos GetPhotos()
 {
     this.photos = PhotoUtilities.GetPhotos(base.token, this);
     return(this.photos);
 }
예제 #3
0
 public void DeletePhoto(Photo photo, string rootpath)
 {
     PhotoUtilities.DeletePhoto(this.token, photo, rootpath);
 }