Aqueduct.SitecoreLib.LinkUrl.GetAttributeValue C# (CSharp) Метод

GetAttributeValue() приватный статический Метод

private static GetAttributeValue ( System.Xml.Linq.XElement e, System.Xml.Linq.XName name ) : string
e System.Xml.Linq.XElement
name System.Xml.Linq.XName
Результат string
        private static string GetAttributeValue(XElement e, XName name)
        {
            XAttribute attribute = e.Attribute(name);
            
            return attribute == null 
                ? String.Empty 
                : attribute.Value;
        }