public static string VirtualDirectoryName(DiscretePicasaAlbum picasaAlbum) { Picasa.Album album = new Picasa.Album { AtomEntry = picasaAlbum.Entry }; return(album.Title + " (" + album.Id + ")"); }
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(); }