/// <summary> /// Search for a set of photos, based on the value of the <see cref="PhotoSearchOptions"/> parameters. /// </summary> /// <param name="options">The parameters to search for.</param> /// <param name="callback">Callback method to call upon return of the response from Flickr.</param> public void PhotosSearchAsync(PhotoSearchOptions options, Action <FlickrResult <PhotoCollection> > callback) { var parameters = new Dictionary <string, string>(); parameters.Add("method", "flickr.photos.search"); options.AddToDictionary(parameters); GetResponseAsync <PhotoCollection>(parameters, callback); }
internal PartialSearchOptions(PhotoSearchOptions options) { Extras = options.Extras; MaxTakenDate = options.MaxTakenDate; MinTakenDate = options.MinTakenDate; MaxUploadDate = options.MaxUploadDate; MinUploadDate = options.MinUploadDate; Page = options.Page; PerPage = options.PerPage; PrivacyFilter = options.PrivacyFilter; }