C# 클래스 Netsy.UI.DispatchedServices.DispatchedListingsService

Listings service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
상속: DispatchedService, IListingsService
파일 보기 프로젝트 열기: AnthonySteele/Netsy

공개 메소드들

메소드 설명
DispatchedListingsService ( IListingsService wrappedService, Dispatcher dispatcher ) : System

Initializes a new instance of the DispatchedListingsService class

GetAllListings ( SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all active listings on Etsy.

GetFrontFeaturedListings ( int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get the featured listings on the front page for the current day.

GetListingDetails ( int listingId, DetailLevel detailLevel ) : IAsyncResult

Get the details of a listing.

GetListingsByCategory ( string category, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by category.

GetListingsByColor ( EtsyColor color, int wiggle, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by average color of primary image.

GetListingsByColorAndKeywords ( IEnumerable keywords, EtsyColor color, int wiggle, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by keywords and average color of primary image.

GetListingsByKeyword ( IEnumerable searchTerms, SortField sortOn, SortOrder sortOrder, decimal minPrice, decimal maxPrice, bool searchDescription, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by keyword.

GetListingsByMaterials ( IEnumerable materials, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by materials used.

GetListingsByTags ( IEnumerable tags, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Search for listings by tags.

메소드 상세

DispatchedListingsService() 공개 메소드

Initializes a new instance of the DispatchedListingsService class
public DispatchedListingsService ( IListingsService wrappedService, Dispatcher dispatcher ) : System
wrappedService IListingsService the wrapped service
dispatcher System.Windows.Threading.Dispatcher the thread dispatcher
리턴 System

GetAllListings() 공개 메소드

Get all active listings on Etsy.
public GetAllListings ( SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
sortOn SortField Specify the field to sort on
sortOrder SortOrder Specify the direction to sort on
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetFrontFeaturedListings() 공개 메소드

Get the featured listings on the front page for the current day.
public GetFrontFeaturedListings ( int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingDetails() 공개 메소드

Get the details of a listing.
public GetListingDetails ( int listingId, DetailLevel detailLevel ) : IAsyncResult
listingId int Specify the listing's numeric ID
detailLevel DetailLevel Control how much information to return
리턴 IAsyncResult

GetListingsByCategory() 공개 메소드

Search for listings by category.
public GetListingsByCategory ( string category, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
category string the category name
sortOn SortField Specify the field to sort on
sortOrder SortOrder Specify the direction to sort on
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingsByColor() 공개 메소드

Search for listings by average color of primary image.
public GetListingsByColor ( EtsyColor color, int wiggle, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
color Netsy.DataModel.EtsyColor The average color of primary image
wiggle int Specify the degree of tolerance for color matching; where 0 is the most accurate, and 15 is the leas
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingsByColorAndKeywords() 공개 메소드

Search for listings by keywords and average color of primary image.
public GetListingsByColorAndKeywords ( IEnumerable keywords, EtsyColor color, int wiggle, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
keywords IEnumerable Specify keywords to search on, separated by spaces or semicolons. You can also use the operators AND and NOT to control keyword matching.
color Netsy.DataModel.EtsyColor Specify an HSV color
wiggle int Specify the degree of tolerance for color matching; where 0 is the most accurate, and 15 is the least.
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingsByKeyword() 공개 메소드

Search for listings by keyword.
public GetListingsByKeyword ( IEnumerable searchTerms, SortField sortOn, SortOrder sortOrder, decimal minPrice, decimal maxPrice, bool searchDescription, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
searchTerms IEnumerable Specify keywords to search on, separated by spaces or semicolons. You can also use the operators AND and NOT to control keyword matching.
sortOn SortField Specify the field to sort on
sortOrder SortOrder Specify the direction to sort on
minPrice decimal Minimum for restricting price ranges. Values are in US dollars and may include cents.
maxPrice decimal Maximum for restricting price ranges. Values are in US dollars and may include cents.
searchDescription bool If true, listing descriptions will count towards search matches. (This may produce less relevant results.)
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingsByMaterials() 공개 메소드

Search for listings by materials used.
public GetListingsByMaterials ( IEnumerable materials, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
materials IEnumerable Specify one or more materials, separated by spaces or semicolons.
sortOn SortField Specify the field to sort on
sortOrder SortOrder Specify the direction to sort on
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult

GetListingsByTags() 공개 메소드

Search for listings by tags.
public GetListingsByTags ( IEnumerable tags, SortField sortOn, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
tags IEnumerable Specify one or more tags, separated by spaces or semicolons.
sortOn SortField Specify the field to sort on
sortOrder SortOrder Specify the direction to sort on
offset int To page through large result sets
limit int Specify the number of results to return
detailLevel DetailLevel control how much information to return
리턴 IAsyncResult