C# Class Netsy.UI.DispatchedServices.DispatchedShopService

Shop service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
Inheritance: DispatchedService, IShopService
Show file Open project: AnthonySteele/Netsy

Public Methods

Method Description
DispatchedShopService ( IShopService wrappedService, Dispatcher dispatcher ) : System

Initializes a new instance of the DispatchedShopService class

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 a list of all the featured sellers.

GetShopDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult

Get the details of a seller's shop.

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

Search all active shops sorted alphabetically by user_name.

Method Details

DispatchedShopService() public method

Initializes a new instance of the DispatchedShopService class
public DispatchedShopService ( IShopService wrappedService, Dispatcher dispatcher ) : System
wrappedService IShopService the wrapped service
dispatcher System.Windows.Threading.Dispatcher the thread dispatcher
return System

GetFeaturedDetails() public method

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
return IAsyncResult

GetFeaturedDetails() public method

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
return IAsyncResult

GetFeaturedSellers() public method

Get a list of all the featured sellers.
public GetFeaturedSellers ( int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
offset int the search results offset
limit int the search limit
detailLevel DetailLevel the level of detail
return IAsyncResult

GetShopDetails() public method

Get the details of a seller's shop.
public GetShopDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the id of the shop
detailLevel DetailLevel the level of detail
return IAsyncResult

GetShopDetails() public method

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
return IAsyncResult

GetShopListings() public method

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
return IAsyncResult

GetShopListings() public method

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
return IAsyncResult

GetShopsByName() public method

Search all active shops sorted alphabetically by user_name.
public GetShopsByName ( string searchName, SortOrder sortOrder, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
searchName string the name to search for
sortOrder SortOrder the sort order
offset int the search results offset
limit int the search limit
detailLevel DetailLevel the level of detail
return IAsyncResult