C# Class Octokit.PullRequestsClient

Inheritance: Octokit.ApiClient, IPullRequestsClient
Afficher le fichier Open project: octokit/octokit.net Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Commits ( long repositoryId, int number ) : Task>

Get the list of commits on a pull request.

http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request

Commits ( string owner, string name, int number ) : Task>

Get the list of commits on a pull request.

http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request

Create ( long repositoryId, Octokit.NewPullRequest newPullRequest ) : Task

Create a pull request for the specified repository.

http://developer.github.com/v3/pulls/#create-a-pull-request

Create ( string owner, string name, Octokit.NewPullRequest newPullRequest ) : Task

Create a pull request for the specified repository.

http://developer.github.com/v3/pulls/#create-a-pull-request

Files ( long repositoryId, int number ) : Task>

Get the list of files on a pull request.

https://developer.github.com/v3/pulls/#list-pull-requests-files

Files ( string owner, string name, int number ) : Task>

Get the list of files on a pull request.

https://developer.github.com/v3/pulls/#list-pull-requests-files

Get ( long repositoryId, int number ) : Task

Get a pull request by number.

http://developer.github.com/v3/pulls/#get-a-single-pull-request

Get ( string owner, string name, int number ) : Task

Get a pull request by number.

http://developer.github.com/v3/pulls/#get-a-single-pull-request

GetAllForRepository ( long repositoryId ) : Task>

Get all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>

Get all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, Octokit.PullRequestRequest request ) : Task>

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( long repositoryId, Octokit.PullRequestRequest request, Octokit.ApiOptions options ) : Task>

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name ) : Task>

Get all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>

Get all open pull requests for the repository.

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, Octokit.PullRequestRequest request ) : Task>

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

GetAllForRepository ( string owner, string name, Octokit.PullRequestRequest request, Octokit.ApiOptions options ) : Task>

Query pull requests for the repository based on criteria

http://developer.github.com/v3/pulls/#list-pull-requests

Merge ( long repositoryId, int number, Octokit.MergePullRequest mergePullRequest ) : Task

Merge a pull request.

http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade

Merge ( string owner, string name, int number, Octokit.MergePullRequest mergePullRequest ) : Task

Merge a pull request.

http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade

Merged ( long repositoryId, int number ) : Task

Get the pull request merge status.

http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged

Merged ( string owner, string name, int number ) : Task

Get the pull request merge status.

http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged

PullRequestsClient ( IApiConnection apiConnection ) : System
Update ( long repositoryId, int number, Octokit.PullRequestUpdate pullRequestUpdate ) : Task

Create a pull request for the specified repository.

http://developer.github.com/v3/pulls/#update-a-pull-request

Update ( string owner, string name, int number, Octokit.PullRequestUpdate pullRequestUpdate ) : Task

Create a pull request for the specified repository.

http://developer.github.com/v3/pulls/#update-a-pull-request

Method Details

Commits() public méthode

Get the list of commits on a pull request.
http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
public Commits ( long repositoryId, int number ) : Task>
repositoryId long The Id of the repository
number int The pull request number
Résultat Task>

Commits() public méthode

Get the list of commits on a pull request.
http://developer.github.com/v3/pulls/#list-commits-on-a-pull-request
public Commits ( string owner, string name, int number ) : Task>
owner string The owner of the repository
name string The name of the repository
number int The pull request number
Résultat Task>

Create() public méthode

Create a pull request for the specified repository.
http://developer.github.com/v3/pulls/#create-a-pull-request
public Create ( long repositoryId, Octokit.NewPullRequest newPullRequest ) : Task
repositoryId long The Id of the repository
newPullRequest Octokit.NewPullRequest A instance describing the new PullRequest to create
Résultat Task

Create() public méthode

Create a pull request for the specified repository.
http://developer.github.com/v3/pulls/#create-a-pull-request
public Create ( string owner, string name, Octokit.NewPullRequest newPullRequest ) : Task
owner string The owner of the repository
name string The name of the repository
newPullRequest Octokit.NewPullRequest A instance describing the new PullRequest to create
Résultat Task

Files() public méthode

Get the list of files on a pull request.
https://developer.github.com/v3/pulls/#list-pull-requests-files
public Files ( long repositoryId, int number ) : Task>
repositoryId long The Id of the repository
number int The pull request number
Résultat Task>

Files() public méthode

Get the list of files on a pull request.
https://developer.github.com/v3/pulls/#list-pull-requests-files
public Files ( string owner, string name, int number ) : Task>
owner string The owner of the repository
name string The name of the repository
number int The pull request number
Résultat Task>

Get() public méthode

Get a pull request by number.
http://developer.github.com/v3/pulls/#get-a-single-pull-request
public Get ( long repositoryId, int number ) : Task
repositoryId long
number int
Résultat Task

Get() public méthode

Get a pull request by number.
http://developer.github.com/v3/pulls/#get-a-single-pull-request
public Get ( string owner, string name, int number ) : Task
owner string
name string
number int
Résultat Task

GetAllForRepository() public méthode

Get all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId ) : Task>
repositoryId long The Id of the repository
Résultat Task>

GetAllForRepository() public méthode

Get all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
options Octokit.ApiOptions Options for changing the API response
Résultat Task>

GetAllForRepository() public méthode

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, Octokit.PullRequestRequest request ) : Task>
repositoryId long The Id of the repository
request Octokit.PullRequestRequest Used to filter and sort the list of pull requests returned
Résultat Task>

GetAllForRepository() public méthode

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( long repositoryId, Octokit.PullRequestRequest request, Octokit.ApiOptions options ) : Task>
repositoryId long The Id of the repository
request Octokit.PullRequestRequest Used to filter and sort the list of pull requests returned
options Octokit.ApiOptions Options for changing the API response
Résultat Task>

GetAllForRepository() public méthode

Get all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name ) : Task>
owner string The owner of the repository
name string The name of the repository
Résultat Task>

GetAllForRepository() public méthode

Get all open pull requests for the repository.
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
options Octokit.ApiOptions Options for changing the API response
Résultat Task>

GetAllForRepository() public méthode

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, Octokit.PullRequestRequest request ) : Task>
owner string The owner of the repository
name string The name of the repository
request Octokit.PullRequestRequest Used to filter and sort the list of pull requests returned
Résultat Task>

GetAllForRepository() public méthode

Query pull requests for the repository based on criteria
http://developer.github.com/v3/pulls/#list-pull-requests
public GetAllForRepository ( string owner, string name, Octokit.PullRequestRequest request, Octokit.ApiOptions options ) : Task>
owner string The owner of the repository
name string The name of the repository
request Octokit.PullRequestRequest Used to filter and sort the list of pull requests returned
options Octokit.ApiOptions Options for changing the API response
Résultat Task>

Merge() public méthode

Merge a pull request.
http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade
public Merge ( long repositoryId, int number, Octokit.MergePullRequest mergePullRequest ) : Task
repositoryId long The Id of the repository
number int The pull request number
mergePullRequest Octokit.MergePullRequest A instance describing a pull request merge
Résultat Task

Merge() public méthode

Merge a pull request.
http://developer.github.com/v3/pulls/#merge-a-pull-request-merge-buttontrade
public Merge ( string owner, string name, int number, Octokit.MergePullRequest mergePullRequest ) : Task
owner string The owner of the repository
name string The name of the repository
number int The pull request number
mergePullRequest Octokit.MergePullRequest A instance describing a pull request merge
Résultat Task

Merged() public méthode

Get the pull request merge status.
http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
public Merged ( long repositoryId, int number ) : Task
repositoryId long The Id of the repository
number int The pull request number
Résultat Task

Merged() public méthode

Get the pull request merge status.
http://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
public Merged ( string owner, string name, int number ) : Task
owner string The owner of the repository
name string The name of the repository
number int The pull request number
Résultat Task

PullRequestsClient() public méthode

public PullRequestsClient ( IApiConnection apiConnection ) : System
apiConnection IApiConnection
Résultat System

Update() public méthode

Create a pull request for the specified repository.
http://developer.github.com/v3/pulls/#update-a-pull-request
public Update ( long repositoryId, int number, Octokit.PullRequestUpdate pullRequestUpdate ) : Task
repositoryId long The Id of the repository
number int The PullRequest number
pullRequestUpdate Octokit.PullRequestUpdate An instance describing the changes to make to the PullRequest ///
Résultat Task

Update() public méthode

Create a pull request for the specified repository.
http://developer.github.com/v3/pulls/#update-a-pull-request
public Update ( string owner, string name, int number, Octokit.PullRequestUpdate pullRequestUpdate ) : Task
owner string The owner of the repository
name string The name of the repository
number int The PullRequest number
pullRequestUpdate Octokit.PullRequestUpdate An instance describing the changes to make to the PullRequest ///
Résultat Task