/// <summary>
        /// <para>Initializes a new instance of the <see cref="MemberAddNameDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="newValue">User's name.</param>
        public MemberAddNameDetails(UserNameLogInfo newValue)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.NewValue = newValue;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="MemberAddNameDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="value">User's name.</param>
        public MemberAddNameDetails(UserNameLogInfo @value)
        {
            if (@value == null)
            {
                throw new sys.ArgumentNullException("@value");
            }

            this.Value = @value;
        }
예제 #3
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="MemberChangeNameDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="newValue">New user's name.</param>
        /// <param name="previousValue">Previous user's name.</param>
        public MemberChangeNameDetails(UserNameLogInfo newValue,
                                       UserNameLogInfo previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.NewValue      = newValue;
            this.PreviousValue = previousValue;
        }