C# Class Catrobat.IDE.Core.Utilities.Helpers.XPathHelper

Afficher le fichier Open project: Catrobat/CatrobatForWindows Class Usage Examples

Méthodes publiques

Méthode Description
GetElement ( System.Xml.Linq.XElement referenceElement, string xPath ) : System.Xml.Linq.XElement
GetXPath ( System.Xml.Linq.XElement fromElement, System.Xml.Linq.XElement toElement ) : string
XPathEquals ( string xPath1, string xPath2 ) : bool

Private Methods

Méthode Description
GetAbsolutePath ( System.Xml.Linq.XElement element ) : List
GetNameWithIndex ( System.Xml.Linq.XElement element ) : string

Method Details

GetElement() public static méthode

public static GetElement ( System.Xml.Linq.XElement referenceElement, string xPath ) : System.Xml.Linq.XElement
referenceElement System.Xml.Linq.XElement
xPath string
Résultat System.Xml.Linq.XElement

GetXPath() public static méthode

public static GetXPath ( System.Xml.Linq.XElement fromElement, System.Xml.Linq.XElement toElement ) : string
fromElement System.Xml.Linq.XElement
toElement System.Xml.Linq.XElement
Résultat string

XPathEquals() public static méthode

public static XPathEquals ( string xPath1, string xPath2 ) : bool
xPath1 string
xPath2 string
Résultat bool