C# Class ChiakiYu.Common.Extensions.LinqToXmlExtensions

Xml 扩展操作类
Show file Open project: andyshao/ChiakiYu

Public Methods

Method Description
ToXElement ( this node ) : System.Xml.Linq.XElement

将XmlNode转换为XElement

ToXmlNode ( this element ) : XmlNode

将XElement转换为XmlNode

Method Details

ToXElement() public static method

将XmlNode转换为XElement
public static ToXElement ( this node ) : System.Xml.Linq.XElement
node this
return System.Xml.Linq.XElement

ToXmlNode() public static method

将XElement转换为XmlNode
public static ToXmlNode ( this element ) : XmlNode
element this
return System.Xml.XmlNode