C# Class NGitHub.Services.UserService

Inheritance: IUserService
显示文件 Open project: akilb/NGitHub Class Usage Examples

Public Methods

Method Description
FollowAsync ( string user, System.Action callback, Action onError ) : GitHubRequestAsyncHandle
GetAuthenticatedUserAsync ( Action callback, Action onError ) : GitHubRequestAsyncHandle
GetFollowersAsync ( string user, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
GetFollowingAsync ( string user, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
GetUserAsync ( string user, Action callback, Action onError ) : GitHubRequestAsyncHandle
GetWatchersAsync ( string user, string repo, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
IsFollowingAsync ( string user, Action callback, Action onError ) : GitHubRequestAsyncHandle
UnfollowAsync ( string user, System.Action callback, Action onError ) : GitHubRequestAsyncHandle
UserService ( IGitHubClient gitHubClient ) : System

Method Details

FollowAsync() public method

public FollowAsync ( string user, System.Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
callback System.Action
onError Action
return GitHubRequestAsyncHandle

GetAuthenticatedUserAsync() public method

public GetAuthenticatedUserAsync ( Action callback, Action onError ) : GitHubRequestAsyncHandle
callback Action
onError Action
return GitHubRequestAsyncHandle

GetFollowersAsync() public method

public GetFollowersAsync ( string user, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
page int
callback Action
onError Action
return GitHubRequestAsyncHandle

GetFollowingAsync() public method

public GetFollowingAsync ( string user, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
page int
callback Action
onError Action
return GitHubRequestAsyncHandle

GetUserAsync() public method

public GetUserAsync ( string user, Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
callback Action
onError Action
return GitHubRequestAsyncHandle

GetWatchersAsync() public method

public GetWatchersAsync ( string user, string repo, int page, Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
repo string
page int
callback Action
onError Action
return GitHubRequestAsyncHandle

IsFollowingAsync() public method

public IsFollowingAsync ( string user, Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
callback Action
onError Action
return GitHubRequestAsyncHandle

UnfollowAsync() public method

public UnfollowAsync ( string user, System.Action callback, Action onError ) : GitHubRequestAsyncHandle
user string
callback System.Action
onError Action
return GitHubRequestAsyncHandle

UserService() public method

public UserService ( IGitHubClient gitHubClient ) : System
gitHubClient IGitHubClient
return System