/// <summary> /// Instantiates a new GitHub Users API client. /// </summary> /// <param name="apiConnection">An API connection</param> public UsersClient(IApiConnection apiConnection) : base(apiConnection) { Email = new UserEmailsClient(apiConnection); Followers = new FollowersClient(apiConnection); Keys = new UserKeysClient(apiConnection); Administration = new UserAdministrationClient(apiConnection); }
/// <summary> /// Instantiates a new GitHub Users API client. /// </summary> /// <param name="apiConnection">An API connection</param> public UsersClient(IApiConnection apiConnection) : base(apiConnection) { Email = new UserEmailsClient(apiConnection); Followers = new FollowersClient(apiConnection); #pragma warning disable CS0618 // Type or member is obsolete Keys = new UserKeysClient(apiConnection); #pragma warning restore CS0618 // Type or member is obsolete GitSshKey = new UserKeysClient(apiConnection); GpgKey = new UserGpgKeysClient(apiConnection); Administration = new UserAdministrationClient(apiConnection); }
/// <summary> /// Instantiates a new GitHub Users API client. /// </summary> /// <param name="apiConnection">An API connection</param> public UsersClient(IApiConnection apiConnection) : base(apiConnection) { Email = new UserEmailsClient(apiConnection); Followers = new FollowersClient(apiConnection); }