Пример #1
0
        /// <summary>
        /// Encapsulates updating the property group count for this and any parent grouping collections.
        /// </summary>
        /// <param name="delta"></param>
        /// <owner>LukaszG</owner>
        internal void ChangePropertyGroupCount(int delta)
        {
            this.propertyGroupCount += delta;
            ErrorUtilities.VerifyThrow(this.propertyGroupCount >= 0, "The property group count should never be negative");

            parentGroupingCollection?.ChangePropertyGroupCount(delta);
        }