C# Class Simplify.Xml.XmlExtensions

Provides extensions for System.Xml.Linq classes
显示文件 Open project: i4004/Simplify.Web

Public Methods

Method Description
InnerXml ( this element ) : string

Gets the inner XML string of an XElement.

OuterXml ( this element ) : string

Gets the outer XML string of an XElement (inner XML and itself).

Method Details

InnerXml() public static method

Gets the inner XML string of an XElement.
public static InnerXml ( this element ) : string
element this The inner XML stringt.
return string

OuterXml() public static method

Gets the outer XML string of an XElement (inner XML and itself).
public static OuterXml ( this element ) : string
element this The outer XML stringt.
return string