public List <Comment> Get(Issue issue) { if (issue.Comments > 0) { return(githubContext.Request <List <Comment> >(issue.Comments_Url)); } return(new List <Comment>()); }
public List <Issue> Get(string owner, string repo, Dictionary <string, string> queryString = null) { Uri uri = new Uri(string.Format("https://api.github.com/repos/{0}/{1}/issues{2}", owner, repo, queryString.ToQueryString())); return(githubContext.Request <List <Issue> >(uri)); }