mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-18 21:25:12 +00:00
added new overloads
This commit is contained in:
@@ -21,6 +21,16 @@ namespace Octokit.Reactive
|
||||
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
|
||||
IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a reaction for a specified Commit Comment
|
||||
/// </summary>
|
||||
/// <remarks>https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment</remarks>
|
||||
/// <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>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
|
||||
IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction);
|
||||
|
||||
/// <summary>
|
||||
/// List reactions for a specified Commit Comment
|
||||
/// </summary>
|
||||
@@ -30,5 +40,14 @@ namespace Octokit.Reactive
|
||||
/// <param name="number">The comment id</param>
|
||||
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
|
||||
IObservable<Reaction> GetAll(string owner, string name, int number);
|
||||
|
||||
/// <summary>
|
||||
/// List reactions for a specified Commit Comment
|
||||
/// </summary>
|
||||
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment</remarks>
|
||||
/// <param name="repositoryId">The owner of the repository</param>
|
||||
/// <param name="number">The comment id</param>
|
||||
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
|
||||
IObservable<Reaction> GetAll(int repositoryId, int number);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user