Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

PictureCacheItem [] FlickrNet::Flickr::GetCachePictures (  )  [inline]

Provides static access to the list of cached photos.

Returns:
An array of PictureCacheItem objects.

Definition at line 191 of file Flickr.cs.

            {
                  lock(Cache.DownloadCache.SyncRoot)
                  {
                        PictureCacheItem[] cache = new PictureCacheItem[Cache.DownloadCache.Count];
                        for(int i = 0; i< Cache.DownloadCache.Count; i++)
                        {
                              if( Cache.DownloadCache.GetByIndex(i) is PictureCacheItem )
                                    cache[i] = (PictureCacheItem)Cache.DownloadCache.GetByIndex(i);
                        }
                        return cache;
                  }
            }


Generated by  Doxygen 1.6.0   Back to index