StarredGists() public static method

Returns the Uri for all started public gists.
public static StarredGists ( ) : Uri
return Uri
Beispiel #1
0
        public Task <IReadOnlyList <Gist> > GetAllStarred(DateTimeOffset since, ApiOptions options)
        {
            Ensure.ArgumentNotNull(options, nameof(options));

            var request = new GistRequest(since);

            return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), request.ToParametersDictionary(), options));
        }
Beispiel #2
0
        /// <summary>
        /// List the authenticated user’s starred 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> > GetAllStarred(DateTimeOffset since)
        {
            var request = new GistRequest(since);

            return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), request.ToParametersDictionary()));
        }
Beispiel #3
0
 /// <summary>
 /// List the authenticated user’s starred gists
 /// </summary>
 /// <remarks>
 /// http://developer.github.com/v3/gists/#list-gists
 /// </remarks>
 public Task <IReadOnlyList <Gist> > GetAllStarred()
 {
     return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists()));
 }
Beispiel #4
0
        public Task <IReadOnlyList <Gist> > GetAllStarred(ApiOptions options)
        {
            Ensure.ArgumentNotNull(options, nameof(options));

            return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), options));
        }