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);
        }
Exemple #2
0
 public CommentsDocument(CT_Comments comments)
 {
     this.comments = comments;
 }
Exemple #3
0
        public static CommentsDocument Parse(XmlDocument doc, XmlNamespaceManager NameSpaceManager)
        {
            CT_Comments obj = CT_Comments.Parse(doc.DocumentElement, NameSpaceManager);

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

            return(new CommentsDocument(obj));
        }