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

Afficher le fichier Open project: BEXIS2/Core

Méthodes publiques

Méthode 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 méthode

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
Résultat IEnumerable

GetElementsByAttribute() public static méthode

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
Résultat IEnumerable