Example #1
0
        public void Remove(ReferencedValues val)
        {
            ReferencedProperty owner = val.Owner;

            owner.Remove(val);
            if (owner.UsedCount == 0)
            {
                _allFoundProperties.Remove(owner.Name);
            }
            // This is a delete, not a move. Do not update the property sheet here.
        }
Example #2
0
        /// <summary>
        /// Moves one particular value of a property to the property sheet.
        /// This only works for one particular configuration and platform
        /// By default it over writes the existing value in the property sheet
        /// </summary>
        /// <param name="val"></param>
        public void MoveValue(ReferencedValues val)
        {
            ReferencedProperty owner = val.Owner;

            owner.Remove(val);
            if (owner.UsedCount == 0)
            {
                _allFoundProperties.Remove(owner.Name);
            }
            UpdatePropertySheet(owner.Name, val.EvaluatedValue);
        }