PullRequestFiles() public static method

Returns the Uri that returns the files on a pull request.
public static PullRequestFiles ( 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 <PullRequestFile> > Files(string owner, string name, int number)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
            Ensure.ArgumentNotNullOrEmptyString(name, nameof(name));

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