C# Class FlickrNet.PhotoSearchOptions

Summary description for PhotoSearchOptions.
Exibir arquivo Open project: mono/flickr-sharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddLicense ( int license ) : void

Adds a new license to the list of licenses to be searched for.

PhotoSearchOptions ( ) : System

Creates a new instance of the search options.

PhotoSearchOptions ( string userId ) : System

Creates a new instance of the search options, setting the UserId property to the parameter passed in.

PhotoSearchOptions ( string userId, string tags ) : System

Create an instance of the PhotoSearchOptions for a given user ID and tag list.

PhotoSearchOptions ( string userId, string tags, TagMode tagMode ) : System

Create an instance of the PhotoSearchOptions for a given user ID and tag list, with the selected tag mode.

PhotoSearchOptions ( string userId, string tags, TagMode tagMode, string text ) : System

Create an instance of the PhotoSearchOptions for a given user ID and tag list, with the selected tag mode, and containing the selected text.

RemoveLicense ( int license ) : void

Removes a license from the list of licenses to be searched for.

Method Details

AddLicense() public method

Adds a new license to the list of licenses to be searched for.
public AddLicense ( int license ) : void
license int The number of the license to search for.
return void

PhotoSearchOptions() public method

Creates a new instance of the search options.
public PhotoSearchOptions ( ) : System
return System

PhotoSearchOptions() public method

Creates a new instance of the search options, setting the UserId property to the parameter passed in.
public PhotoSearchOptions ( string userId ) : System
userId string The ID of the User to search for.
return System

PhotoSearchOptions() public method

Create an instance of the PhotoSearchOptions for a given user ID and tag list.
public PhotoSearchOptions ( string userId, string tags ) : System
userId string The ID of the User to search for.
tags string The tags (comma delimited) to search for. Will match all tags.
return System

PhotoSearchOptions() public method

Create an instance of the PhotoSearchOptions for a given user ID and tag list, with the selected tag mode.
public PhotoSearchOptions ( string userId, string tags, TagMode tagMode ) : System
userId string The ID of the User to search for.
tags string The tags (comma delimited) to search for.
tagMode TagMode The to use to search.
return System

PhotoSearchOptions() public method

Create an instance of the PhotoSearchOptions for a given user ID and tag list, with the selected tag mode, and containing the selected text.
public PhotoSearchOptions ( string userId, string tags, TagMode tagMode, string text ) : System
userId string The ID of the User to search for.
tags string The tags (comma delimited) to search for.
tagMode TagMode The to use to search.
text string The text to search for in photo title and descriptions.
return System

RemoveLicense() public method

Removes a license from the list of licenses to be searched for.
public RemoveLicense ( int license ) : void
license int The number of the license to remove.
return void