mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 21:55:12 +00:00
added new overloads
This commit is contained in:
@@ -32,6 +32,18 @@ namespace Octokit.Reactive
|
||||
/// <returns>A collection of <see cref="PullRequest"/> results</returns>
|
||||
IObservable<PullRequest> GetAllForRepository(string owner, string name);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all open pull requests for the repository.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// http://developer.github.com/v3/pulls/#list-pull-requests
|
||||
/// </remarks>
|
||||
/// <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>A collection of <see cref="PullRequest"/> results</returns>
|
||||
IObservable<PullRequest> GetAllForRepository(string owner, string name, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// Query pull requests for the repository based on criteria
|
||||
/// </summary>
|
||||
@@ -44,6 +56,19 @@ namespace Octokit.Reactive
|
||||
/// <returns>A collection of <see cref="PullRequest"/> results</returns>
|
||||
IObservable<PullRequest> GetAllForRepository(string owner, string name, PullRequestRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Query pull requests for the repository based on criteria
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// http://developer.github.com/v3/pulls/#list-pull-requests
|
||||
/// </remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="request">Used to filter and sort the list of pull requests returned</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>A collection of <see cref="PullRequest"/> results</returns>
|
||||
IObservable<PullRequest> GetAllForRepository(string owner, string name, PullRequestRequest request, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a pull request for the specified repository.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user