コード例 #1
0
 public static double AttributeAsInches(this SXL.XElement el, string name, double def)
 {
     System.Func <string, double> double_parse = str => double.Parse(str, System.Globalization.CultureInfo.InvariantCulture);
     return(el.GetAttributeValue(name, def, s => XmlLinqExtensions.PointsToInches(double_parse(s))));
 }
コード例 #2
0
 public static double AttributeAsInches(this SXL.XElement el, string name, double def)
 {
     return(el.GetAttributeValue(name, def, s => XmlLinqExtensions.PointsToInches(double.Parse(s))));
 }