C# 클래스 Netsy.Services.ShopService

Implementation of the shop service
상속: IShopService
파일 보기 프로젝트 열기: AnthonySteele/Netsy 1 사용 예제들

공개 메소드들

메소드 설명
GetFeaturedDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult

Get the expanded details on featured listings of a shop, ordered by highest ranked featured item.

GetFeaturedDetails ( string userName, DetailLevel detailLevel ) : IAsyncResult

Get the expanded details on featured listings of a shop, ordered by highest ranked featured item.

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

Get featured sellers

GetShopDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult

Get the shop details

GetShopDetails ( string userName, DetailLevel detailLevel ) : IAsyncResult

Get the details of a seller's shop by user name.

GetShopListings ( int userId, SortField sortOn, SortOrder sortOrder, int sectionId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all the listings in a shop.

GetShopListings ( string userName, SortField sortOn, SortOrder sortOrder, int sectionId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all the listings in a shop.

GetShopsByName ( string searchName, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get shops by name

ShopService ( EtsyContext etsyContext ) : System

Initializes a new instance of the ShopService class

ShopService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System

Initializes a new instance of the ShopService class

메소드 상세

GetFeaturedDetails() 공개 메소드

Get the expanded details on featured listings of a shop, ordered by highest ranked featured item.
public GetFeaturedDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the user id
detailLevel DetailLevel the level of detail
리턴 IAsyncResult

GetFeaturedDetails() 공개 메소드

Get the expanded details on featured listings of a shop, ordered by highest ranked featured item.
public GetFeaturedDetails ( string userName, DetailLevel detailLevel ) : IAsyncResult
userName string the user name
detailLevel DetailLevel the level of detail
리턴 IAsyncResult

GetFeaturedSellers() 공개 메소드

Get featured sellers
public GetFeaturedSellers ( int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
offset int the offset in results
limit int the limit of results
detailLevel DetailLevel the detail level
리턴 IAsyncResult

GetShopDetails() 공개 메소드

Get the shop details
public GetShopDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the uset Id
detailLevel DetailLevel thje detail level
리턴 IAsyncResult

GetShopDetails() 공개 메소드

Get the details of a seller's shop by user name.
public GetShopDetails ( string userName, DetailLevel detailLevel ) : IAsyncResult
userName string the name of the shop
detailLevel DetailLevel the level of detail
리턴 IAsyncResult

GetShopListings() 공개 메소드

Get all the listings in a shop.
public GetShopListings ( int userId, SortField sortOn, SortOrder sortOrder, int sectionId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userId int the user id
sortOn SortField field to sort on
sortOrder SortOrder sort ascending or descending
sectionId int shop section to show
offset int the search results offset
limit int the search limit
detailLevel DetailLevel the level of detail
리턴 IAsyncResult

GetShopListings() 공개 메소드

Get all the listings in a shop.
public GetShopListings ( string userName, SortField sortOn, SortOrder sortOrder, int sectionId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userName string the user name
sortOn SortField field to sort on
sortOrder SortOrder sort ascending or descending
sectionId int shop section to show
offset int the search results offset
limit int the search limit
detailLevel DetailLevel the level of detail
리턴 IAsyncResult

GetShopsByName() 공개 메소드

Get shops by name
public GetShopsByName ( string searchName, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
searchName string the text to search for
sortOrder SortOrder the results order
offset int the results offset
limit int the results limit
detailLevel DetailLevel detail level
리턴 IAsyncResult

ShopService() 공개 메소드

Initializes a new instance of the ShopService class
public ShopService ( EtsyContext etsyContext ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
리턴 System

ShopService() 공개 메소드

Initializes a new instance of the ShopService class
public ShopService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
dataRetriever IDataRetriever the data retreiver to use
리턴 System