Ejemplo n.º 1
0
        public static CT_Comments Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Comments ctObj = new CT_Comments();

            ctObj.comment = new List <CT_Comment>();
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "comment")
                {
                    ctObj.comment.Add(CT_Comment.Parse(childNode, namespaceManager));
                }
            }
            return(ctObj);
        }
Ejemplo n.º 2
0
 public CommentsDocument(CT_Comments comments)
 {
     this.comments = comments;
 }
Ejemplo n.º 3
0
        public static CommentsDocument Parse(XmlDocument doc, XmlNamespaceManager NameSpaceManager)
        {
            CT_Comments obj = CT_Comments.Parse(doc.DocumentElement, NameSpaceManager);

            return(new CommentsDocument(obj));
        }
Ejemplo n.º 4
0
 public CommentsDocument()
 {
     comments = new CT_Comments();
 }
Ejemplo n.º 5
0
        public static CommentsDocument Parse(Stream stream)
        {
            CT_Comments obj = (CT_Comments)serializer.Deserialize(stream);

            return(new CommentsDocument(obj));
        }