CommitComment() public static method

Returns the Uri for the specified comment.
public static CommitComment ( long repositoryId, int number ) : Uri
repositoryId long The Id of the repository
number int The comment number
return System.Uri
        /// <summary>
        /// Updates a specified Commit Comment.
        /// </summary>
        /// <remarks>http://developer.github.com/v3/repos/comments/#update-a-commit-comment</remarks>
        /// <param name="owner">The owner of the repository</param>
        /// <param name="name">The name of the repository</param>
        /// <param name="number">The comment number</param>
        /// <param name="commentUpdate">The modified comment</param>
        /// <returns></returns>
        public Task <CommitComment> Update(string owner, string name, int number, string commentUpdate)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
            Ensure.ArgumentNotNullOrEmptyString(name, "name");
            Ensure.ArgumentNotNull(commentUpdate, "commentUpdate");

            return(ApiConnection.Patch <CommitComment>(ApiUrls.CommitComment(owner, name, number), new BodyWrapper(commentUpdate)));
        }
 /// <summary>
 /// Gets a single Repository Comment by number.
 /// </summary>
 /// <param name="repositoryId">The ID of the repository</param>
 /// <param name="number">The comment id</param>
 /// <remarks>http://developer.github.com/v3/repos/comments/#get-a-single-commit-comment</remarks>
 public Task <CommitComment> Get(int repositoryId, int number)
 {
     return(ApiConnection.Get <CommitComment>(ApiUrls.CommitComment(repositoryId, number)));
 }
 /// <summary>
 /// Deletes the specified Commit Comment
 /// </summary>
 /// <param name="repositoryId">The ID of the repository</param>
 /// <param name="number">The comment id</param>
 /// <remarks>http://developer.github.com/v3/repos/comments/#delete-a-commit-comment</remarks>
 public Task Delete(int repositoryId, int number)
 {
     return(ApiConnection.Delete(ApiUrls.CommitComment(repositoryId, number)));
 }
        /// <summary>
        /// Updates a specified Commit Comment.
        /// </summary>
        /// <param name="repositoryId">The ID of the repository</param>
        /// <param name="number">The comment number</param>
        /// <param name="commentUpdate">The modified comment</param>
        /// <remarks>http://developer.github.com/v3/repos/comments/#update-a-commit-comment</remarks>
        public Task <CommitComment> Update(int repositoryId, int number, string commentUpdate)
        {
            Ensure.ArgumentNotNull(commentUpdate, "commentUpdate");

            return(ApiConnection.Patch <CommitComment>(ApiUrls.CommitComment(repositoryId, number), new BodyWrapper(commentUpdate)));
        }
 /// <summary>
 /// Gets a single Repository Comment by number.
 /// </summary>
 /// <param name="repositoryId">The Id of the repository</param>
 /// <param name="number">The comment id</param>
 /// <remarks>http://developer.github.com/v3/repos/comments/#get-a-single-commit-comment</remarks>
 public Task <CommitComment> Get(long repositoryId, int number)
 {
     return(ApiConnection.Get <CommitComment>(ApiUrls.CommitComment(repositoryId, number), null, AcceptHeaders.ReactionsPreview));
 }