コード例 #1
0
        public static ResultInfo <XmlResultDataTree> getTreeNodes(XmlDocument doc)
        {
            XmlDocument       xmlDoc    = OiProData.Pro_GetTreeNode(doc);
            XmlResult         xmlResult = DeserializeXmlDocument(typeof(XmlResult), xmlDoc) as XmlResult;
            XmlResultDataTree tree      = DeserializeXmlDocument(typeof(XmlResultDataTree), ConvertToXmlNode(xmlResult.revalue)) as XmlResultDataTree;

            return(new ResultInfo <XmlResultDataTree>
            {
                code = xmlResult.recode,
                msg = xmlResult.err,
                obj = tree
            });
        }
コード例 #2
0
        public static string getTreeNodes(XmlDocument doc, bool test)
        {
            XmlDocument xmlDoc = OiProData.Pro_GetTreeNode(doc);

            return(xmlDoc.OuterXml);
        }