mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 19:11:30 +00:00
obsolete reactive method
This commit is contained in:
@@ -109,16 +109,6 @@ namespace Octokit.Reactive
|
||||
/// <returns></returns>
|
||||
IObservable<bool> RemoveRepository(int id, string organization, string repoName);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all <see cref="Repository"/>(ies) associated with the given team.
|
||||
/// </summary>
|
||||
/// <param name="id">The team identifier</param>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/orgs/teams/#list-team-repos">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <returns>A list of the team's <see cref="Repository"/>(ies).</returns>
|
||||
IObservable<Repository> GetRepositories(int id);
|
||||
|
||||
/// <summary>
|
||||
/// Adds a <see cref="Repository"/> to a <see cref="Team"/>.
|
||||
/// </summary>
|
||||
|
||||
@@ -146,19 +146,6 @@ namespace Octokit.Reactive
|
||||
return _connection.GetAndFlattenAllPages<Repository>(ApiUrls.TeamRepositories(id));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns all <see cref="Repository"/>(ies) associated with the given team.
|
||||
/// </summary>
|
||||
/// <param name="id">The team identifier</param>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/orgs/teams/#list-team-repos">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <returns>A list of the team's <see cref="Repository"/>(ies).</returns>
|
||||
public IObservable<Repository> GetRepositories(int id)
|
||||
{
|
||||
return _connection.GetAndFlattenAllPages<Repository>(ApiUrls.TeamRepositories(id));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds a <see cref="Repository"/> to a <see cref="Team"/>.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user