Inheritance: System.Xml.XmlText, IConfigErrorInfo
Beispiel #1
0
        public override XmlNode CloneNode(bool deep)
        {
            XmlNode       cloneNode = base.CloneNode(deep);
            ConfigXmlText clone     = cloneNode as ConfigXmlText;

            if (clone != null)
            {
                clone._line     = _line;
                clone._filename = _filename;
            }
            return(cloneNode);
        }
Beispiel #2
0
            // Clone this node.
            public override XmlNode CloneNode(bool deep)
            {
                XmlNode       node  = base.CloneNode(deep);
                ConfigXmlText cnode = (node as ConfigXmlText);

                if (cnode != null)
                {
                    cnode.filename = filename;
                    cnode.line     = line;
                }
                return(node);
            }