SearchIssues() public static method

Creates the relative Uri for searching issues
public static SearchIssues ( ) : Uri
return Uri
Esempio n. 1
0
 /// <summary>
 /// search issues
 /// http://developer.github.com/v3/search/#search-issues
 /// </summary>
 /// <param name="search"></param>
 /// <returns>List of issues</returns>
 public Task <IReadOnlyList <Issue> > SearchIssues(SearchIssuesRequest search)
 {
     Ensure.ArgumentNotNull(search, "search");
     return(ApiConnection.GetAll <Issue>(ApiUrls.SearchIssues(), search.Parameters));
 }
 public Task <SearchIssuesResult> SearchIssues(SearchIssuesRequest search)
 {
     Ensure.ArgumentNotNull(search, nameof(search));
     return(ApiConnection.Get <SearchIssuesResult>(ApiUrls.SearchIssues(), search.Parameters));
 }