Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public Photos GetPhotos()
 {
     this.photos = PhotoUtilities.GetPhotos(base.token, this);
     return(this.photos);
 }
Ejemplo n.º 3
0
 public void DeletePhoto(Photo photo, string rootpath)
 {
     PhotoUtilities.DeletePhoto(this.token, photo, rootpath);
 }