C# 클래스 Netsy.UI.DispatchedServices.DispatchedUsersService

User service wrapped to use a dispatcher To put the results back on the Dispatcher's thread
상속: DispatchedService, IUsersService
파일 보기 프로젝트 열기: AnthonySteele/Netsy

공개 메소드들

메소드 설명
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