Skip to content

Commit

Permalink
Fixed indenting.
Browse files Browse the repository at this point in the history
Conflicts:
	Octokit.Tests/Clients/TeamsClientTests.cs
  • Loading branch information
kzu committed Apr 22, 2014
1 parent 6660f1b commit 120b05b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
16 changes: 8 additions & 8 deletions Octokit.Reactive/Clients/IObservableTeamsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ public interface IObservableTeamsClient
/// <returns>A list of the orgs's teams <see cref="Team"/>s.</returns>
IObservable<Team> GetAll(string org);

/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
/// <returns>A list of the team's member <see cref="User"/>s.</returns>
IObservable<User> GetMembers(int id);
IObservable<User> GetMembers(int id);

/// <summary>
/// Returns newly created <see cref="Team" /> for the current org.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.Tests.Integration/Clients/TeamsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public async Task GetsAllMembersWhenAuthenticated()

var members = await github.Organization.Team.GetMembers(team.Id);

Assert.Contains(Helper.UserName, members.Select(u => u.Login));
Assert.Contains(Helper.UserName, members.Select(u => u.Login));
}
}
}
16 changes: 8 additions & 8 deletions Octokit/Clients/ITeamsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public interface ITeamsClient
/// <returns>A list of the orgs's teams <see cref="Team"/>s.</returns>
Task<IReadOnlyList<Team>> GetAll(string org);

/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <returns>A list of the team's member <see cref="User"/>s.</returns>
Task<IReadOnlyList<User>> GetMembers(int id);
Task<IReadOnlyList<User>> GetMembers(int id);

/// <summary>
/// Returns newly created <see cref="Team" /> for the current org.
Expand Down
22 changes: 11 additions & 11 deletions Octokit/Clients/TeamsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ public Task<IReadOnlyList<Team>> GetAll(string org)
return ApiConnection.GetAll<Team>(endpoint);
}

/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <returns>A list of the team's member <see cref="User"/>s.</returns>
public Task<IReadOnlyList<User>> GetMembers(int id)
{
/// <summary>
/// Returns all members of the given team.
/// </summary>
/// <param name="id">The team identifier</param>
/// <remarks>
/// https://developer.github.com/v3/orgs/teams/#list-team-members
/// </remarks>
/// <returns>A list of the team's member <see cref="User"/>s.</returns>
public Task<IReadOnlyList<User>> GetMembers(int id)
{
var endpoint = ApiUrls.TeamMembers(id);

return ApiConnection.GetAll<User>(endpoint);
}
}

/// <summary>
/// Returns newly created <see cref="Team" /> for the current org.
Expand Down

0 comments on commit 120b05b

Please sign in to comment.