mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 20:45:51 +00:00
Make Repository Id a long, it's going to grow...
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/issues/comments/#get-a-single-comment</remarks>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="id">The issue comment id</param>
|
||||
public IObservable<IssueComment> Get(int repositoryId, int id)
|
||||
public IObservable<IssueComment> Get(long repositoryId, int id)
|
||||
{
|
||||
return _client.Get(repositoryId, id).ToObservable();
|
||||
}
|
||||
@@ -69,7 +69,7 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/issues/comments/#list-comments-in-a-repository</remarks>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
public IObservable<IssueComment> GetAllForRepository(int repositoryId)
|
||||
public IObservable<IssueComment> GetAllForRepository(long repositoryId)
|
||||
{
|
||||
return GetAllForRepository(repositoryId, ApiOptions.None);
|
||||
}
|
||||
@@ -96,7 +96,7 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/issues/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>
|
||||
public IObservable<IssueComment> GetAllForRepository(int repositoryId, ApiOptions options)
|
||||
public IObservable<IssueComment> GetAllForRepository(long repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/issues/comments/#list-comments-on-an-issue</remarks>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="number">The issue number</param>
|
||||
public IObservable<IssueComment> GetAllForIssue(int repositoryId, int number)
|
||||
public IObservable<IssueComment> GetAllForIssue(long repositoryId, int number)
|
||||
{
|
||||
return GetAllForIssue(repositoryId, number, ApiOptions.None);
|
||||
}
|
||||
@@ -153,7 +153,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="number">The issue number</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
public IObservable<IssueComment> GetAllForIssue(int repositoryId, int number, ApiOptions options)
|
||||
public IObservable<IssueComment> GetAllForIssue(long repositoryId, int number, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="number">The number of the issue</param>
|
||||
/// <param name="newComment">The text of the new comment</param>
|
||||
public IObservable<IssueComment> Create(int repositoryId, int number, string newComment)
|
||||
public IObservable<IssueComment> Create(long repositoryId, int number, string newComment)
|
||||
{
|
||||
Ensure.ArgumentNotNull(newComment, "newComment");
|
||||
|
||||
@@ -215,7 +215,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="id">The comment id</param>
|
||||
/// <param name="commentUpdate">The modified comment</param>
|
||||
public IObservable<IssueComment> Update(int repositoryId, int id, string commentUpdate)
|
||||
public IObservable<IssueComment> Update(long repositoryId, int id, string commentUpdate)
|
||||
{
|
||||
Ensure.ArgumentNotNull(commentUpdate, "commentUpdate");
|
||||
|
||||
@@ -243,7 +243,7 @@ namespace Octokit.Reactive
|
||||
/// <remarks>http://developer.github.com/v3/issues/comments/#delete-a-comment</remarks>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="id">The comment id</param>
|
||||
public IObservable<Unit> Delete(int repositoryId, int id)
|
||||
public IObservable<Unit> Delete(long repositoryId, int id)
|
||||
{
|
||||
return _client.Delete(repositoryId, id).ToObservable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user