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

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

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

Метод Описание
DispatchedUsersService ( IUsersService wrappedService, Dispatcher dispatcher ) : System

Initializes a new instance of the DispatchedUsersService class

GetUserDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult

Query for user details

GetUsersByName ( string searchName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Query for users by name

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

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

Initializes a new instance of the DispatchedUsersService class
public DispatchedUsersService ( IUsersService wrappedService, Dispatcher dispatcher ) : System
wrappedService IUsersService the wrapped service
dispatcher System.Windows.Threading.Dispatcher the thread dispatcher
Результат System

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

Query for user details
public GetUserDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the id of the user
detailLevel DetailLevel the level of detail
Результат IAsyncResult

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

Query for users by name
public GetUsersByName ( string searchName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
searchName string the name to search for
offset int the searh results offset
limit int the search limit
detailLevel DetailLevel the level of detail
Результат IAsyncResult