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

HasAttribute() public static method

public static HasAttribute ( this element, string name ) : bool
element this
name string
return bool
        public static bool HasAttribute(this XElement element, string name)
        {
            return element.Attribute(name) != null;
        }