Пример #1
0
 /// <summary>
 /// Instantiates a new GitHub Issues API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public IssuesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     Assignee  = new AssigneesClient(apiConnection);
     Events    = new IssuesEventsClient(apiConnection);
     Labels    = new IssuesLabelsClient(apiConnection);
     Milestone = new MilestonesClient(apiConnection);
     Comment   = new IssueCommentsClient(apiConnection);
     Timeline  = new IssueTimelineClient(apiConnection);
 }
Пример #2
0
 /// <summary>
 /// Instantiates a new GitHub Issues API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public IssuesClient(IApiConnection apiConnection) : base(apiConnection)
 {
     Assignee = new AssigneesClient(apiConnection);
     Events = new IssuesEventsClient(apiConnection);
     Labels = new IssuesLabelsClient(apiConnection);
     Milestone = new MilestonesClient(apiConnection);
     Comment = new IssueCommentsClient(apiConnection);
     Timeline = new IssueTimelineClient(apiConnection);
 }