SearchCode() public static method

Creates the relative Uri for searching code
public static SearchCode ( ) : Uri
return Uri
 /// <summary>
 /// search code
 /// http://developer.github.com/v3/search/#search-code
 /// </summary>
 /// <param name="search"></param>
 /// <returns>List of files</returns>
 public Task <IReadOnlyList <SearchCode> > SearchCode(SearchCodeRequest search)
 {
     Ensure.ArgumentNotNull(search, "search");
     return(ApiConnection.GetAll <SearchCode>(ApiUrls.SearchCode(), search.Parameters));
 }
 public Task <SearchCodeResult> SearchCode(SearchCodeRequest search)
 {
     Ensure.ArgumentNotNull(search, nameof(search));
     return(ApiConnection.Get <SearchCodeResult>(ApiUrls.SearchCode(), search.Parameters));
 }