C# Class Duality.ExtMethodsXml

显示文件 Open project: BraveSirAndrew/duality

Public Methods

Method Description
Ancestors ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
Descendants ( this container, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
Element ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : System.Xml.Linq.XElement
Elements ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
ElementsAfterSelf ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
ElementsBeforeSelf ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
GetAttributeValue ( this element, System.Xml.Linq.XName name ) : string

Method Details

Ancestors() public static method

public static Ancestors ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
node this
name System.Xml.Linq.XName
ignoreNamespace bool
return IEnumerable

Descendants() public static method

public static Descendants ( this container, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
container this
name System.Xml.Linq.XName
ignoreNamespace bool
return IEnumerable

Element() public static method

public static Element ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : System.Xml.Linq.XElement
node this
name System.Xml.Linq.XName
ignoreNamespace bool
return System.Xml.Linq.XElement

Elements() public static method

public static Elements ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
node this
name System.Xml.Linq.XName
ignoreNamespace bool
return IEnumerable

ElementsAfterSelf() public static method

public static ElementsAfterSelf ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
node this
name System.Xml.Linq.XName
ignoreNamespace bool
return IEnumerable

ElementsBeforeSelf() public static method

public static ElementsBeforeSelf ( this node, System.Xml.Linq.XName name, bool ignoreNamespace ) : IEnumerable
node this
name System.Xml.Linq.XName
ignoreNamespace bool
return IEnumerable

GetAttributeValue() public static method

public static GetAttributeValue ( this element, System.Xml.Linq.XName name ) : string
element this
name System.Xml.Linq.XName
return string