Catrobat.IDE.Core.Utilities.Helpers.XElementExtensions.SetReferenceTarget C# (CSharp) Method

SetReferenceTarget() public static method

public static SetReferenceTarget ( this element, System.Xml.Linq.XElement target ) : void
element this
target System.Xml.Linq.XElement
return void
        public static void SetReferenceTarget(this XElement element, XElement target)
        {
            element.SetAttributeValue(ReferenceAttributeName, XPathHelper.GetXPath(element, target));
        }