Esempio n. 1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="TeamFolderChangeStatusDetails"
        /// /> class.</para>
        /// </summary>
        /// <param name="newStatus">New team folder status.</param>
        /// <param name="previousStatus">Previous team folder status. Might be missing due to
        /// historical data gap.</param>
        public TeamFolderChangeStatusDetails(TeamFolderStatus newStatus,
                                             TeamFolderStatus previousStatus = null)
        {
            if (newStatus == null)
            {
                throw new sys.ArgumentNullException("newStatus");
            }

            this.NewStatus      = newStatus;
            this.PreviousStatus = previousStatus;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="TeamFolderChangeStatusDetails"
        /// /> class.</para>
        /// </summary>
        /// <param name="newValue">New team folder status.</param>
        /// <param name="previousValue">Previous team folder status. Might be missing due to
        /// historical data gap.</param>
        public TeamFolderChangeStatusDetails(TeamFolderStatus newValue,
                                             TeamFolderStatus previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

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