Inheritance: ExtensibleJsonObject
Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AddUserRequest"/> class for the
        /// specified <paramref name="user"/>.
        /// </summary>
        /// <param name="user">The user.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="user"/> is <see langword="null"/>.</exception>
        public AddNewUserWithTenantIdRequest(NewUserWithTenantId user)
        {
            if (user == null)
            {
                throw new ArgumentNullException("user");
            }

            User = user;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AddUserRequest"/> class for the
        /// specified <paramref name="user"/>.
        /// </summary>
        /// <param name="user">The user.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="user"/> is <see langword="null"/>.</exception>
        public AddNewUserWithTenantIdRequest(NewUserWithTenantId user)
        {
            if (user == null)
                throw new ArgumentNullException("user");

            User = user;
        }