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); }
public CommentsDocument(CT_Comments comments) { this.comments = comments; }
public static CommentsDocument Parse(XmlDocument doc, XmlNamespaceManager NameSpaceManager) { CT_Comments obj = CT_Comments.Parse(doc.DocumentElement, NameSpaceManager); return(new CommentsDocument(obj)); }
public CommentsDocument() { comments = new CT_Comments(); }
public static CommentsDocument Parse(Stream stream) { CT_Comments obj = (CT_Comments)serializer.Deserialize(stream); return(new CommentsDocument(obj)); }