Exemplo n.º 1
0
        /// <inheritdoc />
        public IHoconElement Clone(IHoconElement newParent)
        {
            var clone = new HoconObject(newParent);

            foreach (var kvp in this)
            {
                clone.SetField(kvp.Key, kvp.Value.Clone(clone) as HoconField);
            }
            return(clone);
        }