Octokit.PullRequestsClient.Commits C# (CSharp) Method

Commits() public method

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
return Task>
        public Task<IReadOnlyList<PullRequestCommit>> Commits(long repositoryId, int number)
        {
            return ApiConnection.GetAll<PullRequestCommit>(ApiUrls.PullRequestCommits(repositoryId, number));
        }

Same methods

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