public GoogleFile File(GooglePhotosService service, DiscretePicasaAlbum picasaAlbum, Picasa.Photo picasaPhoto) { return(new GoogleFile(new Path(mainPrefix, new string[] { PicasaExtensions.VirtualDirectoryName(service), PicasaExtensions.VirtualDirectoryName(picasaAlbum), PicasaExtensions.VirtualFileName(picasaPhoto) }, this))); }
public static void AddService(GooglePhotosService service) { Instance.Services [PicasaExtensions.VirtualDirectoryName(service)] = service; }