private Mark ParseMark(XElement markElement)
 {
     var subject = markElement.Attribute("subject").Value;
     var score = double.Parse(markElement.Attribute("score").Value, System.Globalization.CultureInfo.InvariantCulture);
     var mark = new Mark()
     {
         Subject = subject,
         Score = score
     };
     return mark;
 }
Example #2
0
 private Mark ParseMark(XElement markElement)
 {
     var subject = markElement.Attribute("subject").Value;
     var score = double.Parse(markElement.Attribute("score").Value);
     var mark = new Mark()
     {
         Subject = subject,
         Score = score
     };
     return mark;
 }