Octokit.PullRequestsClient.Create C# (CSharp) Метод

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
        public Task<PullRequest> Create(long repositoryId, NewPullRequest newPullRequest)
        {
            Ensure.ArgumentNotNull(newPullRequest, "newPullRequest");

            return ApiConnection.Post<PullRequest>(ApiUrls.PullRequests(repositoryId), newPullRequest);
        }

Same methods

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