/// <summary> /// Initializes a new Organization API client. /// </summary> /// <param name="client">An <see cref="IGitHubClient" /> used to make the requests</param> public ObservableOrganizationsClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, "client"); Member = new ObservableOrganizationMembersClient(client); Teams = new ObservableOrganizationTeamsClient(client); _client = client.Organization; _connection = client.Connection; }