added overloads with repositoryId for IObservableRepoCollaboratorsClient

This commit is contained in:
aedampir@gmail.com
2016-05-19 15:07:56 +07:00
parent 18b3306b9c
commit ae6c5b7405
3 changed files with 143 additions and 0 deletions
@@ -86,6 +86,8 @@ namespace Octokit
/// <returns>A <see cref="IReadOnlyPagedCollection{User}"/> of <see cref="User"/>s for the specified repository.</returns>
public Task<IReadOnlyList<User>> GetAll(int repositoryId, ApiOptions options)
{
Ensure.ArgumentNotNull(options, "options");
return ApiConnection.GetAll<User>(ApiUrls.RepoCollaborators(repositoryId), options);
}