mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 20:45:51 +00:00
Applying our private member naming convention
Just trying to make @half-ogre happy
This commit is contained in:
@@ -6,32 +6,32 @@ namespace Octokit.Reactive.Clients
|
||||
{
|
||||
public class ObservableOrganizationsClient : IObservableOrganizationsClient
|
||||
{
|
||||
readonly IOrganizationsClient client;
|
||||
readonly IOrganizationsClient _client;
|
||||
|
||||
public ObservableOrganizationsClient(IOrganizationsClient client)
|
||||
{
|
||||
Ensure.ArgumentNotNull(client, "client");
|
||||
|
||||
this.client = client;
|
||||
_client = client;
|
||||
}
|
||||
|
||||
public IObservable<Organization> Get(string org)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(org, "org");
|
||||
|
||||
return client.Get(org).ToObservable();
|
||||
return _client.Get(org).ToObservable();
|
||||
}
|
||||
|
||||
public IObservable<IReadOnlyCollection<Organization>> GetAllForCurrent()
|
||||
{
|
||||
return client.GetAllForCurrent().ToObservable();
|
||||
return _client.GetAllForCurrent().ToObservable();
|
||||
}
|
||||
|
||||
public IObservable<IReadOnlyCollection<Organization>> GetAll(string user)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(user, "user");
|
||||
|
||||
return client.GetAll(user).ToObservable();
|
||||
return _client.GetAll(user).ToObservable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user