Esempio n. 1
0
 public static string VirtualDirectoryName(DiscretePicasaAlbum picasaAlbum)
 {
     Picasa.Album album = new Picasa.Album {
         AtomEntry = picasaAlbum.Entry
     };
     return(album.Title + " (" + album.Id + ")");
 }
Esempio n. 2
0
        public ContentQuery(GooglePhotosService service, DiscretePicasaAlbum album)
        {
            this.service = service;
            this.album   = album;

            Picasa.Album picasaAlbum = new Picasa.Album();
            picasaAlbum.AtomEntry = album.Entry;

            PhotoQuery picturesQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("default", picasaAlbum.Id));

            picturesQuery.ExtraParameters = "imgmax=d";
            PicasaFeed picturesFeed = service.PicasaService.Query(picturesQuery);

            picasaPictures = picturesFeed.Entries.OfType <PicasaEntry> ().ToArray();
        }