PublicGists() public static method

Returns the Uri for all public gists.
public static PublicGists ( ) : Uri
return System.Uri
Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        /// <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()));
        }
Esempio n. 3
0
 /// <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()));
 }
Esempio n. 4
0
        public Task <IReadOnlyList <Gist> > GetAllPublic(ApiOptions options)
        {
            Ensure.ArgumentNotNull(options, nameof(options));

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