Add ApiOption overloads to methods on I(Observable)RepositoryCommentsClient (#1310)

This commit is contained in:
Alexander Efremov
2016-05-24 03:54:31 +07:00
committed by Brendan Forster
parent f1771aa3f1
commit 26cc074d74
10 changed files with 720 additions and 31 deletions
@@ -27,6 +27,16 @@ namespace Octokit.Reactive
/// <returns></returns>
IObservable<CommitComment> GetAllForRepository(string owner, string name);
/// <summary>
/// Gets Commit Comments for a repository.
/// </summary>
/// <remarks>http://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository</remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="options">Options to change the API response</param>
/// <returns></returns>
IObservable<CommitComment> GetAllForRepository(string owner, string name, ApiOptions options);
/// <summary>
/// Gets Commit Comments for a specified Commit.
/// </summary>
@@ -37,6 +47,17 @@ namespace Octokit.Reactive
/// <returns></returns>
IObservable<CommitComment> GetAllForCommit(string owner, string name, string sha);
/// <summary>
/// Gets Commit Comments for a specified Commit.
/// </summary>
/// <remarks>http://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit</remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="sha">The sha of the commit</param>
/// <param name="options">Options to change the API response</param>
/// <returns></returns>
IObservable<CommitComment> GetAllForCommit(string owner, string name, string sha, ApiOptions options);
/// <summary>
/// Creates a new Commit Comment for a specified Commit.
/// </summary>