add teams client to orgclient

This commit is contained in:
Haroon
2013-11-06 00:19:50 +00:00
parent e0021c33cf
commit e0cf9ff1ba
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -16,6 +16,8 @@ namespace Octokit
{
IOrganizationMembersClient Member { get; }
ITeamsClient Team { get; }
/// <summary>
/// Returns the specified <see cref="Organization"/>.
/// </summary>
+3
View File
@@ -21,10 +21,13 @@ namespace Octokit
public OrganizationsClient(IApiConnection apiConnection) : base(apiConnection)
{
Member = new OrganizationMembersClient(apiConnection);
Team = new TeamsClient(apiConnection);
}
public IOrganizationMembersClient Member { get; private set; }
public ITeamsClient Team { get; private set; }
/// <summary>
/// Returns the specified <see cref="Organization"/>.
/// </summary>