C# Class Netsy.UI.DispatchedServices.DispatchedUsersService

User service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
Inheritance: DispatchedService, IUsersService
Mostrar archivo Open project: AnthonySteele/Netsy

Public Methods

Method Description
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

Method Details

DispatchedUsersService() public method

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

GetUserDetails() public method

Query for user details
public GetUserDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the id of the user
detailLevel DetailLevel the level of detail
return IAsyncResult

GetUsersByName() public method

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