NArrange.Core.Configuration.ElementReferenceConfiguration.DoClone C# (CSharp) Метод

DoClone() защищенный Метод

Creates a clone of this instance.
protected DoClone ( ) : ConfigurationElement
Результат ConfigurationElement
        protected override ConfigurationElement DoClone()
        {
            ElementReferenceConfiguration clone = new ElementReferenceConfiguration();

            clone._id = _id;

            if (_referencedElement != null)
            {
                ElementConfiguration referenceClone = _referencedElement.Clone() as ElementConfiguration;
                clone._referencedElement = referenceClone;
            }

            return clone;
        }
ElementReferenceConfiguration