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

Show file Open project: Catrobat/CatrobatForWindows

Public Methods

Method Description
GetReferenceTarget ( this element ) : System.Xml.Linq.XElement
HasAttribute ( this element, string name ) : bool
HasReference ( this element ) : bool
HasReferenceTo ( this element, System.Xml.Linq.XElement target ) : bool
SetReferenceTarget ( this element, System.Xml.Linq.XElement target ) : void

Method Details

GetReferenceTarget() public static method

public static GetReferenceTarget ( this element ) : System.Xml.Linq.XElement
element this
return System.Xml.Linq.XElement

HasAttribute() public static method

public static HasAttribute ( this element, string name ) : bool
element this
name string
return bool

HasReference() public static method

public static HasReference ( this element ) : bool
element this
return bool

HasReferenceTo() public static method

public static HasReferenceTo ( this element, System.Xml.Linq.XElement target ) : bool
element this
target System.Xml.Linq.XElement
return bool

SetReferenceTarget() public static method

public static SetReferenceTarget ( this element, System.Xml.Linq.XElement target ) : void
element this
target System.Xml.Linq.XElement
return void