예제 #1
0
 public static string AttributeValue(this System.Xml.Linq.XElement el, System.Xml.Linq.XName name, string defval)
 {
     return(LinqXmlUtil.GetAttributeValue(el, name, defval));
 }
예제 #2
0
 public static T AttributeValue <T>(this System.Xml.Linq.XElement el, System.Xml.Linq.XName name, T defval,
                                    System.Func <string, T> converter)
 {
     return(LinqXmlUtil.GetAttributeValue(el, name, defval, converter));
 }