示例#1
0
文件: XmlParser.cs 项目: LiveFly/X
        /// <summary>解码</summary>
        /// <returns></returns>
        public static IDictionary <String, Object> Decode(String xml)
        {
            xml = xml.TrimStart((Char)0xFEFF);
            var parser = new XmlParser(xml);

            return(parser.ParseValue());
        }
示例#2
0
        /// <summary>解码</summary>
        /// <returns></returns>
        public static IDictionary <String, Object> Decode(String xml)
        {
            var parser = new XmlParser(xml);

            return(parser.ParseValue());
        }