Esempio n. 1
0
        public override ElementBase CreateFirstChild()
        {
            if (GetValue() == null)
            {
                return(null);
            }
            var firstChild = InnerDocument.DocumentElement.FirstChild;

            return(XmlNodeWrapper.Create(Context, Content, firstChild.LocalName, this, firstChild));
        }
Esempio n. 2
0
        public override ElementBase CreateFirstChild()
        {
            var firstChild = _wrappedNode.FirstChild;

            if (firstChild == null)
            {
                return(null);
            }
            return(XmlNodeWrapper.Create(Context, Content, firstChild.LocalName, this, firstChild));
        }