This project has moved and is read-only. For the latest updates, please go here.

Photo versus PhotoInfo class

May 9, 2008 at 3:47 PM
I'm trying to write a factory for common image repository services (Flickr, Picasa, Photobucket, etc) and ran across an issue in the FlickrNET API where sometimes a Photo object is returned and sometimes a PhotoInfo object is returned. It seems the PhotoInfo object is a little more OO and has more information. Is there any reason that Photo is not depreciated?

- Ben Floyd
May 12, 2008 at 4:24 PM
PhotoInfo is returned by PhotosGetInfo only and contains a lot of information about the photo, whereas the Photo object is much more light weight and returned by most *GetPhotos methods.

I could have tried to jam them both into the same class, but its confusing enough as it is when some properties are returned by some methods, and others aren't.