public static GistCommits ( string id ) : |
||
id | string | The id of the gist |
리턴 |
public Task <IReadOnlyList <GistHistory> > GetAllCommits(string id, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(id, nameof(id)); Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <GistHistory>(ApiUrls.GistCommits(id), options)); }
/// <summary> /// List gist commits /// </summary> /// <remarks> /// http://developer.github.com/v3/gists/#list-gists-commits /// </remarks> /// <param name="id">The id of the gist</param> public Task <IReadOnlyList <GistHistory> > GetAllCommits(string id) { Ensure.ArgumentNotNullOrEmptyString(id, "id"); return(ApiConnection.GetAll <GistHistory>(ApiUrls.GistCommits(id))); }