PullRequestCommits() public static method

Returns the Uri that returns the commits on a pull request.
public static PullRequestCommits ( long repositoryId, int number ) : Uri
repositoryId long The Id of the repository
number int The pull request number
return System.Uri
コード例 #1
0
        public Task <IReadOnlyList <PullRequestCommit> > Commits(string owner, string name, int number)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
            Ensure.ArgumentNotNullOrEmptyString(name, nameof(name));

            return(ApiConnection.GetAll <PullRequestCommit>(ApiUrls.PullRequestCommits(owner, name, number)));
        }
コード例 #2
0
 public Task <IReadOnlyList <PullRequestCommit> > Commits(long repositoryId, int number)
 {
     return(ApiConnection.GetAll <PullRequestCommit>(ApiUrls.PullRequestCommits(repositoryId, number)));
 }