Esempio n. 1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="TeamInviteDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="inviteMethod">How the user was invited to the team.</param>
        public TeamInviteDetails(InviteMethod inviteMethod)
        {
            if (inviteMethod == null)
            {
                throw new sys.ArgumentNullException("inviteMethod");
            }

            this.InviteMethod = inviteMethod;
        }
Esempio n. 2
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="TeamInviteDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="inviteMethod">How the user was invited to the team.</param>
        /// <param name="additionalLicensePurchase">True if the invitation incurred an
        /// additional license purchase.</param>
        public TeamInviteDetails(InviteMethod inviteMethod,
                                 bool?additionalLicensePurchase = null)
        {
            if (inviteMethod == null)
            {
                throw new sys.ArgumentNullException("inviteMethod");
            }

            this.InviteMethod = inviteMethod;
            this.AdditionalLicensePurchase = additionalLicensePurchase;
        }