示例#1
0
 /// <summary>
 /// A list of users who have starred this repository.
 /// </summary>
 /// <param name="first">Returns the first _n_ elements from the list.</param>
 /// <param name="after">Returns the elements in the list that come after the specified global ID.</param>
 /// <param name="last">Returns the last _n_ elements from the list.</param>
 /// <param name="before">Returns the elements in the list that come before the specified global ID.</param>
 /// <param name="orderBy">Order for connection</param>
 public StargazerConnection Stargazers(int?first = null, string after = null, int?last = null, string before = null, StarOrder orderBy = null) => this.CreateMethodCall(x => x.Stargazers(first, after, last, before, orderBy), Octokit.GraphQL.StargazerConnection.Create);
示例#2
0
 /// <summary>
 /// Repositories the user has starred.
 /// </summary>
 /// <param name="first">Returns the first _n_ elements from the list.</param>
 /// <param name="after">Returns the elements in the list that come after the specified global ID.</param>
 /// <param name="last">Returns the last _n_ elements from the list.</param>
 /// <param name="before">Returns the elements in the list that come before the specified global ID.</param>
 /// <param name="ownedByViewer">Filters starred repositories to only return repositories owned by the viewer.</param>
 /// <param name="orderBy">Order for connection</param>
 public StarredRepositoryConnection StarredRepositories(int?first = null, string after = null, int?last = null, string before = null, bool?ownedByViewer = null, StarOrder orderBy = null) => this.CreateMethodCall(x => x.StarredRepositories(first, after, last, before, ownedByViewer, orderBy), Octokit.GraphQL.StarredRepositoryConnection.Create);