mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 13:01:36 +00:00
IObservableUserClient should have Emails underneath
This commit is contained in:
@@ -35,5 +35,13 @@ namespace Octokit.Reactive
|
||||
/// See the <a href="http://developer.github.com/v3/users/followers/">Followers API documentation</a> for more information.
|
||||
///</remarks>
|
||||
IObservableFollowersClient Followers { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Emails API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/emails/">Emails API documentation</a> for more information.
|
||||
///</remarks>
|
||||
IObservableUserEmailsClient Email { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Octokit.Reactive
|
||||
_client = client.User;
|
||||
|
||||
Followers = new ObservableFollowersClient(client);
|
||||
Email = new ObservableUserEmailsClient(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -57,5 +58,13 @@ namespace Octokit.Reactive
|
||||
/// See the <a href="http://developer.github.com/v3/users/followers/">Followers API documentation</a> for more information.
|
||||
///</remarks>
|
||||
public IObservableFollowersClient Followers { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Emails API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/emails/">Emails API documentation</a> for more information.
|
||||
///</remarks>
|
||||
public IObservableUserEmailsClient Email { get; private set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,12 @@ namespace Octokit
|
||||
/// </remarks>
|
||||
public interface IUsersClient
|
||||
{
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Emails API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/emails/">Emails API documentation</a> for more information.
|
||||
///</remarks>
|
||||
IUserEmailsClient Email { get; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -27,6 +27,12 @@ namespace Octokit
|
||||
Followers = new FollowersClient(apiConnection);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Emails API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/emails/">Emails API documentation</a> for more information.
|
||||
///</remarks>
|
||||
public IUserEmailsClient Email { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user