예제 #1
0
 /// <summary>
 /// Instantiates a new GitHub Reactions API client
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public ReactionsClient(IApiConnection apiConnection)
     : base(apiConnection)
 {
     CommitComment = new CommitCommentReactionsClient(apiConnection);
     Issue = new IssueReactionsClient(apiConnection);
     IssueComment = new IssueCommentReactionsClient(apiConnection);
     PullRequestReviewComment = new PullRequestReviewCommentReactionsClient(apiConnection);
 }
예제 #2
0
 /// <summary>
 /// Instantiates a new GitHub Reactions API client
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public ReactionsClient(IApiConnection apiConnection)
     : base(apiConnection)
 {
     CommitComment            = new CommitCommentReactionsClient(apiConnection);
     Issue                    = new IssueReactionsClient(apiConnection);
     IssueComment             = new IssueCommentReactionsClient(apiConnection);
     PullRequestReviewComment = new PullRequestReviewCommentReactionsClient(apiConnection);
 }