Пример #1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="MemberSpaceLimitsChangeStatusDetails" /> class.</para>
        /// </summary>
        /// <param name="previousValue">Previous storage quota status.</param>
        /// <param name="newValue">New storage quota status.</param>
        public MemberSpaceLimitsChangeStatusDetails(SpaceLimitsStatus previousValue,
                                                    SpaceLimitsStatus newValue)
        {
            if (previousValue == null)
            {
                throw new sys.ArgumentNullException("previousValue");
            }

            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.PreviousValue = previousValue;
            this.NewValue      = newValue;
        }
Пример #2
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="MemberSpaceLimitsChangeStatusDetails" /> class.</para>
        /// </summary>
        /// <param name="previousStatus">Previous storage quota status.</param>
        /// <param name="newStatus">New storage quota status.</param>
        public MemberSpaceLimitsChangeStatusDetails(SpaceLimitsStatus previousStatus,
                                                    SpaceLimitsStatus newStatus)
        {
            if (previousStatus == null)
            {
                throw new sys.ArgumentNullException("previousStatus");
            }

            if (newStatus == null)
            {
                throw new sys.ArgumentNullException("newStatus");
            }

            this.PreviousStatus = previousStatus;
            this.NewStatus      = newStatus;
        }