mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
burned <returns> tags
This commit is contained in:
@@ -18,7 +18,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAll(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -27,7 +26,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAll(int repositoryId, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -38,7 +36,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAll(string owner, string name, int number, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -48,7 +45,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAll(int repositoryId, int number, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -57,7 +53,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -65,7 +60,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId);
|
||||
|
||||
/// <summary>
|
||||
@@ -75,7 +69,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -84,7 +77,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -94,7 +86,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request);
|
||||
|
||||
/// <summary>
|
||||
@@ -103,7 +94,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request);
|
||||
|
||||
/// <summary>
|
||||
@@ -114,7 +104,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -124,7 +113,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -134,7 +122,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetComment(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -143,7 +130,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> GetComment(int repositoryId, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -154,7 +140,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> Create(string owner, string name, int number, PullRequestReviewCommentCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -164,7 +149,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> Create(int repositoryId, int number, PullRequestReviewCommentCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -175,7 +159,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -185,7 +168,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -196,7 +178,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -206,7 +187,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
IObservable<PullRequestReviewComment> Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -216,7 +196,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<Unit> Delete(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -225,7 +204,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
IObservable<Unit> Delete(int repositoryId, int number);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAll(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -46,7 +45,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAll(int repositoryId, int number)
|
||||
{
|
||||
return GetAll(repositoryId, number, ApiOptions.None);
|
||||
@@ -60,7 +58,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAll(string owner, string name, int number, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -77,7 +74,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAll(int repositoryId, int number, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -91,7 +87,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -105,7 +100,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId)
|
||||
{
|
||||
return GetAllForRepository(repositoryId, new PullRequestReviewCommentRequest(), ApiOptions.None);
|
||||
@@ -118,7 +112,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -134,7 +127,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -149,7 +141,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -165,7 +156,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -181,7 +171,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -200,7 +189,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -217,7 +205,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetComment(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -232,7 +219,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> GetComment(int repositoryId, int number)
|
||||
{
|
||||
return _client.GetComment(repositoryId, number).ToObservable();
|
||||
@@ -246,7 +232,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> Create(string owner, string name, int number, PullRequestReviewCommentCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -263,7 +248,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> Create(int repositoryId, int number, PullRequestReviewCommentCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -279,7 +263,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -296,7 +279,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -312,7 +294,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -329,7 +310,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<PullRequestReviewComment> Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -344,7 +324,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> Delete(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -359,7 +338,6 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> Delete(int repositoryId, int number)
|
||||
{
|
||||
return _client.Delete(repositoryId, number).ToObservable();
|
||||
|
||||
@@ -18,7 +18,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAll(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -27,7 +26,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAll(int repositoryId, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -38,7 +36,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAll(string owner, string name, int number, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -48,7 +45,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAll(int repositoryId, int number, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -57,7 +53,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
@@ -65,7 +60,6 @@ namespace Octokit
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId);
|
||||
|
||||
/// <summary>
|
||||
@@ -75,7 +69,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -84,7 +77,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -94,7 +86,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request);
|
||||
|
||||
/// <summary>
|
||||
@@ -103,7 +94,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request);
|
||||
|
||||
/// <summary>
|
||||
@@ -114,7 +104,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -124,7 +113,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -134,7 +122,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> GetComment(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -143,7 +130,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> GetComment(int repositoryId, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -154,7 +140,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> Create(string owner, string name, int number, PullRequestReviewCommentCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -164,7 +149,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> Create(int repositoryId, int number, PullRequestReviewCommentCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -175,7 +159,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -185,7 +168,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -196,7 +178,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -206,7 +187,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
Task<PullRequestReviewComment> Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment);
|
||||
|
||||
/// <summary>
|
||||
@@ -216,7 +196,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
Task Delete(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
@@ -225,7 +204,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
Task Delete(int repositoryId, int number);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAll(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -39,7 +38,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAll(int repositoryId, int number)
|
||||
{
|
||||
return GetAll(repositoryId, number, ApiOptions.None);
|
||||
@@ -53,7 +51,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAll(string owner, string name, int number, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -70,7 +67,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAll(int repositoryId, int number, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -84,7 +80,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -98,7 +93,6 @@ namespace Octokit
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId)
|
||||
{
|
||||
return GetAllForRepository(repositoryId, new PullRequestReviewCommentRequest(), ApiOptions.None);
|
||||
@@ -111,7 +105,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -127,7 +120,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -142,7 +134,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -158,7 +149,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -174,7 +164,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(string owner, string name, PullRequestReviewCommentRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -192,7 +181,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="request">The sorting <see cref="PullRequestReviewCommentRequest">parameters</see></param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns></returns>
|
||||
public Task<IReadOnlyList<PullRequestReviewComment>> GetAllForRepository(int repositoryId, PullRequestReviewCommentRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -208,7 +196,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public Task<PullRequestReviewComment> GetComment(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -223,7 +210,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#get-a-single-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public Task<PullRequestReviewComment> GetComment(int repositoryId, int number)
|
||||
{
|
||||
return ApiConnection.Get<PullRequestReviewComment>(ApiUrls.PullRequestReviewComment(repositoryId, number));
|
||||
@@ -237,7 +223,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public async Task<PullRequestReviewComment> Create(string owner, string name, int number, PullRequestReviewCommentCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -262,7 +247,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The Pull Request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public async Task<PullRequestReviewComment> Create(int repositoryId, int number, PullRequestReviewCommentCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -286,7 +270,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public async Task<PullRequestReviewComment> CreateReply(string owner, string name, int number, PullRequestReviewCommentReplyCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -311,7 +294,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request number</param>
|
||||
/// <param name="comment">The comment</param>
|
||||
/// <returns></returns>
|
||||
public async Task<PullRequestReviewComment> CreateReply(int repositoryId, int number, PullRequestReviewCommentReplyCreate comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -335,7 +317,6 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
public Task<PullRequestReviewComment> Edit(string owner, string name, int number, PullRequestReviewCommentEdit comment)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -352,7 +333,6 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <param name="comment">The edited comment</param>
|
||||
/// <returns></returns>
|
||||
public Task<PullRequestReviewComment> Edit(int repositoryId, int number, PullRequestReviewCommentEdit comment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(comment, "comment");
|
||||
@@ -367,7 +347,6 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public Task Delete(string owner, string name, int number)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -382,7 +361,6 @@ namespace Octokit
|
||||
/// <remarks>http://developer.github.com/v3/pulls/comments/#delete-a-comment</remarks>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="number">The pull request review comment number</param>
|
||||
/// <returns></returns>
|
||||
public Task Delete(int repositoryId, int number)
|
||||
{
|
||||
return ApiConnection.Delete(ApiUrls.PullRequestReviewComment(repositoryId, number));
|
||||
|
||||
Reference in New Issue
Block a user