C# Class BExIS.Web.Shell.Areas.DDM.Helpers.helper

ファイルを表示 Open project: BEXIS2/Core

Public Methods

Method Description
GetElementsByAttribute ( System.Xml.Linq.XDocument xDoc, string attribute, string value ) : IEnumerable

Create a list of Parents nodes from an XML document

GetElementsByAttribute ( System.Xml.Linq.XElement element, string attribute, string value ) : IEnumerable

Create a list of childs from an XML document

Method Details

GetElementsByAttribute() public static method

Create a list of Parents nodes from an XML document
public static GetElementsByAttribute ( System.Xml.Linq.XDocument xDoc, string attribute, string value ) : IEnumerable
xDoc System.Xml.Linq.XDocument An XML Document
attribute string Description of a node
value string Value that is searching
return IEnumerable

GetElementsByAttribute() public static method

Create a list of childs from an XML document
public static GetElementsByAttribute ( System.Xml.Linq.XElement element, string attribute, string value ) : IEnumerable
element System.Xml.Linq.XElement an XElement
attribute string an Attribute name
value string value of the attribute
return IEnumerable