public static StatsContributors ( long repositoryId ) : Uri | ||
repositoryId | long | The Id of the repository |
Результат | Uri |
/// <summary> /// Returns a list of <see cref="Contributor"/> for the given repository /// </summary> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="cancellationToken">A token used to cancel this potentially long running request</param> public Task <IReadOnlyList <Contributor> > GetContributors(string owner, string name, CancellationToken cancellationToken) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(ApiConnection.GetQueuedOperation <Contributor>(ApiUrls.StatsContributors(owner, name), cancellationToken)); }
/// <summary> /// Returns a list of <see cref="Contributor"/> for the given repository /// </summary> /// <param name="repositoryId">The Id of the repository</param> /// <param name="cancellationToken">A token used to cancel this potentially long running request</param> public Task <IReadOnlyList <Contributor> > GetContributors(long repositoryId, CancellationToken cancellationToken) { return(ApiConnection.GetQueuedOperation <Contributor>(ApiUrls.StatsContributors(repositoryId), cancellationToken)); }