public Task <IReadOnlyList <Gist> > GetAllPublic(DateTimeOffset since, ApiOptions options) { Ensure.ArgumentNotNull(options, nameof(options)); var request = new GistRequest(since); return(ApiConnection.GetAll <Gist>(ApiUrls.PublicGists(), request.ToParametersDictionary(), options)); }
/// <summary> /// Lists all public gists /// </summary> /// <remarks> /// http://developer.github.com/v3/gists/#list-gists /// </remarks> /// <param name="since">Only gists updated at or after this time are returned</param> public Task <IReadOnlyList <Gist> > GetAllPublic(DateTimeOffset since) { var request = new GistRequest(since); return(ApiConnection.GetAll <Gist>(ApiUrls.PublicGists(), request.ToParametersDictionary())); }
/// <summary> /// Lists all public gists /// </summary> /// <remarks> /// http://developer.github.com/v3/gists/#list-gists /// </remarks> public Task <IReadOnlyList <Gist> > GetAllPublic() { return(ApiConnection.GetAll <Gist>(ApiUrls.PublicGists())); }
public Task <IReadOnlyList <Gist> > GetAllPublic(ApiOptions options) { Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <Gist>(ApiUrls.PublicGists(), options)); }