Пример #1
0
        public IChangeGroup CreateUndoGroup()
        {
            if (_undoGroupIndex > 0)
            {
                return(_undoGroup.CloneWithIndex(++_undoGroupIndex));
            }

            _undoGroup = new ChangeGroup(
                this,
                ++_undoGroupIndex
                );
            return(_undoGroup);
        }