C# Класс Octokit.PullRequestsClient

Наследование: Octokit.ApiClient, IPullRequestsClient
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

Commits() публичный Метод

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
Результат Task>

Commits() публичный Метод

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
Результат Task>

Create() публичный Метод

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
Результат Task

Create() публичный Метод

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
Результат Task

Files() публичный Метод

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
Результат Task>

Files() публичный Метод

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
Результат Task>

Get() публичный Метод

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
Результат Task

Get() публичный Метод

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
Результат Task

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

GetAllForRepository() публичный Метод

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
Результат Task>

Merge() публичный Метод

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
Результат Task

Merge() публичный Метод

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
Результат Task

Merged() публичный Метод

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
Результат Task

Merged() публичный Метод

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
Результат Task

PullRequestsClient() публичный Метод

public PullRequestsClient ( IApiConnection apiConnection ) : System
apiConnection IApiConnection
Результат System

Update() публичный Метод

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 ///
Результат Task

Update() публичный Метод

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 ///
Результат Task