Aqueduct.SitecoreLib.LinkUrl.GetAttributeValue C# (CSharp) Method

GetAttributeValue() private static method

private static GetAttributeValue ( System.Xml.Linq.XElement e, System.Xml.Linq.XName name ) : string
e System.Xml.Linq.XElement
name System.Xml.Linq.XName
return string
        private static string GetAttributeValue(XElement e, XName name)
        {
            XAttribute attribute = e.Attribute(name);
            
            return attribute == null 
                ? String.Empty 
                : attribute.Value;
        }