Пример #1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="PaperChangeMemberLinkPolicyDetails" /> class.</para>
        /// </summary>
        /// <param name="newValue">New paper external link accessibility policy.</param>
        public PaperChangeMemberLinkPolicyDetails(PaperMemberPolicy newValue)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.NewValue = newValue;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="PaperChangeMemberPolicyDetails"
        /// /> class.</para>
        /// </summary>
        /// <param name="newValue">New paper external accessibility policy.</param>
        /// <param name="previousValue">Previous paper external accessibility policy. Might be
        /// missing due to historical data gap.</param>
        public PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue,
                                              PaperMemberPolicy previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

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