Octokit.Reactive.ObservablePullRequestReviewCommentsClient.GetComment C# (CSharp) Method

GetComment() public method

Gets a single pull request review comment by number.
http://developer.github.com/v3/pulls/comments/#get-a-single-comment
public GetComment ( long repositoryId, int number ) : IObservable
repositoryId long The Id of the repository
number int The pull request review comment number
return IObservable
        public IObservable<PullRequestReviewComment> GetComment(long repositoryId, int number)
        {
            return _client.GetComment(repositoryId, number).ToObservable();
        }

Same methods

ObservablePullRequestReviewCommentsClient::GetComment ( string owner, string name, int number ) : IObservable

Usage Example

            public void GetsFromClientPullRequestCommentWithRepositoryId()
            {
                var gitHubClient = Substitute.For<IGitHubClient>();
                var client = new ObservablePullRequestReviewCommentsClient(gitHubClient);

                client.GetComment(1, 53);

                gitHubClient.PullRequest.ReviewComment.Received().GetComment(1, 53);
            }
All Usage Examples Of Octokit.Reactive.ObservablePullRequestReviewCommentsClient::GetComment