Beispiel #1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="DataPlacementRestrictionSatisfyPolicyDetails" /> class.</para>
        /// </summary>
        /// <param name="placementRestriction">Placement restriction.</param>
        public DataPlacementRestrictionSatisfyPolicyDetails(PlacementRestriction placementRestriction)
        {
            if (placementRestriction == null)
            {
                throw new sys.ArgumentNullException("placementRestriction");
            }

            this.PlacementRestriction = placementRestriction;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="DataPlacementRestrictionChangePolicyDetails" /> class.</para>
        /// </summary>
        /// <param name="previousValue">Previous placement restriction.</param>
        /// <param name="newValue">New placement restriction.</param>
        public DataPlacementRestrictionChangePolicyDetails(PlacementRestriction previousValue,
                                                           PlacementRestriction newValue)
        {
            if (previousValue == null)
            {
                throw new sys.ArgumentNullException("previousValue");
            }

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

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