Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <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);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Instantiates a new GitHub Users API client.
 /// </summary>
 /// <param name="apiConnection">An API connection</param>
 public UsersClient(IApiConnection apiConnection) : base(apiConnection)
 {
     Followers = new FollowersClient(apiConnection);
 }