mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
Add ApiOption overloads to methods on I(Observable)OrganizationsClient (#1324)
This commit is contained in:
committed by
Brendan Forster
parent
921511f8d2
commit
a29752d363
@@ -32,6 +32,15 @@ namespace Octokit.Reactive
|
||||
Justification = "Method makes a network request")]
|
||||
IObservable<Organization> GetAllForCurrent();
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the organizations for the current user.
|
||||
/// </summary>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate",
|
||||
Justification = "Method makes a network request")]
|
||||
IObservable<Organization> GetAllForCurrent(ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the organizations for the specified user
|
||||
/// </summary>
|
||||
@@ -39,6 +48,14 @@ namespace Octokit.Reactive
|
||||
/// <returns></returns>
|
||||
IObservable<Organization> GetAll(string user);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the organizations for the specified user
|
||||
/// </summary>
|
||||
/// <param name="user">The login for the user</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<Organization> GetAll(string user, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// Update the specified organization with data from <see cref="OrganizationUpdate"/>.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user