Octokit.PullRequestsClient.Update C# (CSharp) Method

Update() public method

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 ///
return Task
        public Task<PullRequest> Update(long repositoryId, int number, PullRequestUpdate pullRequestUpdate)
        {
            Ensure.ArgumentNotNull(pullRequestUpdate, "pullRequestUpdate");

            return ApiConnection.Patch<PullRequest>(ApiUrls.PullRequest(repositoryId, number), pullRequestUpdate);
        }

Same methods

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