Ejemplo n.º 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))));
 }
Ejemplo n.º 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))));
 }