mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
Rename to Octokit to be consistent with other API libs
GitHub is naming all of the libraries Octokit for their respective platforms
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using Octokit.Reactive.Clients;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public class ObservableGitHubClient : IObservableGitHubClient
|
||||
{
|
||||
public ObservableGitHubClient(IGitHubClient gitHubClient)
|
||||
{
|
||||
Ensure.ArgumentNotNull(gitHubClient, "githubClient");
|
||||
|
||||
Authorization = new ObservableAuthorizationsClient(gitHubClient.Authorization);
|
||||
AutoComplete = new ObservableAutoCompleteClient(gitHubClient.AutoComplete);
|
||||
Organization = new ObservableOrganizationsClient(gitHubClient.Organization);
|
||||
Repositories = new ObservableRepositoriesClient(gitHubClient.Repository);
|
||||
SshKey = new ObservableSshKeysClient(gitHubClient.SshKey);
|
||||
User = new ObservableUsersClient(gitHubClient.User);
|
||||
}
|
||||
|
||||
public IObservableAuthorizationsClient Authorization { get; private set; }
|
||||
public IObservableAutoCompleteClient AutoComplete { get; private set; }
|
||||
public IObservableOrganizationsClient Organization { get; private set; }
|
||||
public IObservableRepositoriesClient Repositories { get; private set; }
|
||||
public IObservableSshKeysClient SshKey { get; private set; }
|
||||
public IObservableUsersClient User { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user