Beispiel #1
0
        private void New(ConfigElement sourceElement, ConfigElement newElement)
        {
            newElement.CopyTo(sourceElement.Config);
            if (newElement.Parrent != sourceElement)
            {
                sourceElement.Childs.Add(newElement);
            }

            foreach (ConfigElement child in newElement.Childs)
            {
                New(newElement, child);
            }
        }