Skip to content

Commit

Permalink
Showing 4 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@ public interface IObservablePullRequestReviewCommentReactionsClient
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
IObservable<Reaction> GetAll(string owner, string name, int number);

/// <summary>
@@ -26,7 +25,6 @@ public interface IObservablePullRequestReviewCommentReactionsClient
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment</remarks>
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
IObservable<Reaction> GetAll(int repositoryId, int number);

/// <summary>
@@ -37,7 +35,6 @@ public interface IObservablePullRequestReviewCommentReactionsClient
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction);

/// <summary>
@@ -47,7 +44,6 @@ public interface IObservablePullRequestReviewCommentReactionsClient
/// <param name="repositoryId">The owner of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction);
}
}
Original file line number Diff line number Diff line change
@@ -30,7 +30,6 @@ public ObservablePullRequestReviewCommentReactionsClient(IGitHubClient client)
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
public IObservable<Reaction> GetAll(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -45,7 +44,6 @@ public IObservable<Reaction> GetAll(string owner, string name, int number)
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment</remarks>
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
public IObservable<Reaction> GetAll(int repositoryId, int number)
{
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.PullRequestReviewCommentReaction(repositoryId, number), null, AcceptHeaders.ReactionsPreview);
@@ -59,7 +57,6 @@ public IObservable<Reaction> GetAll(int repositoryId, int number)
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
public IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -76,7 +73,6 @@ public IObservable<Reaction> Create(string owner, string name, int number, NewRe
/// <param name="repositoryId">The owner of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
public IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction)
{
Ensure.ArgumentNotNull(reaction, "reaction");
4 changes: 0 additions & 4 deletions Octokit/Clients/IPullRequestReviewCommentReactionsClient.cs
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ public interface IPullRequestReviewCommentReactionsClient
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
Task<IReadOnlyList<Reaction>> GetAll(string owner, string name, int number);

/// <summary>
@@ -27,7 +26,6 @@ public interface IPullRequestReviewCommentReactionsClient
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment</remarks>
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
Task<IReadOnlyList<Reaction>> GetAll(int repositoryId, int number);

/// <summary>
@@ -38,7 +36,6 @@ public interface IPullRequestReviewCommentReactionsClient
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
Task<Reaction> Create(string owner, string name, int number, NewReaction reaction);

/// <summary>
@@ -48,7 +45,6 @@ public interface IPullRequestReviewCommentReactionsClient
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
Task<Reaction> Create(int repositoryId, int number, NewReaction reaction);
}
}
4 changes: 0 additions & 4 deletions Octokit/Clients/PullRequestReviewCommentReactionsClient.cs
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@ public PullRequestReviewCommentReactionsClient(IApiConnection apiConnection)
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
public Task<IReadOnlyList<Reaction>> GetAll(string owner, string name, int number)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -38,7 +37,6 @@ public Task<IReadOnlyList<Reaction>> GetAll(string owner, string name, int numbe
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment</remarks>
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <returns></returns>
public Task<IReadOnlyList<Reaction>> GetAll(int repositoryId, int number)
{
return ApiConnection.GetAll<Reaction>(ApiUrls.PullRequestReviewCommentReaction(repositoryId, number), AcceptHeaders.ReactionsPreview);
@@ -52,7 +50,6 @@ public Task<IReadOnlyList<Reaction>> GetAll(int repositoryId, int number)
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
public Task<Reaction> Create(string owner, string name, int number, NewReaction reaction)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -69,7 +66,6 @@ public Task<Reaction> Create(string owner, string name, int number, NewReaction
/// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
/// <returns></returns>
public Task<Reaction> Create(int repositoryId, int number, NewReaction reaction)
{
Ensure.ArgumentNotNull(reaction, "reaction");

0 comments on commit 0c1a4e0

Please sign in to comment.