public void parseIncidentEfficiency(Scientrace.OpticalEfficiencyCharacteristics oec, XElement xIncidentEfficiency) { foreach (XElement xangle in xIncidentEfficiency.Elements("Angle")) oec.addAngle(this.X.getXAngle(xangle), this.X.getXDouble(xangle, "Fraction")); }