C# Class Netsy.UI.DispatchedServices.DispatchedFavoritesService

Favorites service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
Inheritance: DispatchedService, IFavoritesService
显示文件 Open project: AnthonySteele/Netsy

Public Methods

Method Description
DispatchedFavoritesService ( IFavoritesService wrappedService, Dispatcher dispatcher ) : System

Initializes a new instance of the DispatchedFavoritesService class

GetFavorersOfListing ( int listingId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all the users who call this listing a favorite.

GetFavorersOfShop ( int shopId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all the users who call this shop a favorite.

GetFavorersOfShop ( string shopName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get all the users who call this shop a favorite.

GetFavoriteListingsOfUser ( int userId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get the favorite listings of a user.

GetFavoriteListingsOfUser ( string userName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get the favorite listings of a user.

GetFavoriteShopsOfUser ( int userId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get the favorite shops of a user.

GetFavoriteShopsOfUser ( string userName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Get the favorite shops of a user.

Method Details

DispatchedFavoritesService() public method

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

GetFavorersOfListing() public method

Get all the users who call this listing a favorite.
public GetFavorersOfListing ( int listingId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
listingId int the listing's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavorersOfShop() public method

Get all the users who call this shop a favorite.
public GetFavorersOfShop ( int shopId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
shopId int the shop's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavorersOfShop() public method

Get all the users who call this shop a favorite.
public GetFavorersOfShop ( string shopName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
shopName string the shop's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavoriteListingsOfUser() public method

Get the favorite listings of a user.
public GetFavoriteListingsOfUser ( int userId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavoriteListingsOfUser() public method

Get the favorite listings of a user.
public GetFavoriteListingsOfUser ( string userName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavoriteShopsOfUser() public method

Get the favorite shops of a user.
public GetFavoriteShopsOfUser ( int userId, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userId int the user's numeric ID
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult

GetFavoriteShopsOfUser() public method

Get the favorite shops of a user.
public GetFavoriteShopsOfUser ( string userName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
userName string the user's name
offset int To page through large result sets, set offset to a multiple of limit
limit int Specify the number of results to return
detailLevel DetailLevel Control how much information to return
return IAsyncResult