C# Класс Netsy.UI.DispatchedServices.DispatchedFavoritesService

Favorites service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
Наследование: DispatchedService, IFavoritesService
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

DispatchedFavoritesService() публичный Метод

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
Результат System

GetFavorersOfListing() публичный Метод

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
Результат IAsyncResult

GetFavorersOfShop() публичный Метод

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
Результат IAsyncResult

GetFavorersOfShop() публичный Метод

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
Результат IAsyncResult

GetFavoriteListingsOfUser() публичный Метод

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
Результат IAsyncResult

GetFavoriteListingsOfUser() публичный Метод

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
Результат IAsyncResult

GetFavoriteShopsOfUser() публичный Метод

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
Результат IAsyncResult

GetFavoriteShopsOfUser() публичный Метод

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
Результат IAsyncResult