예제 #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);
 }
예제 #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);
     Keys = new UserKeysClient(apiConnection);
     Administration = new UserAdministrationClient(apiConnection);
 }
예제 #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);
#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);
        }
예제 #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);
#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);
        }
예제 #5
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);
 }
예제 #6
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);
 }