public override void Deserialize(System.Xml.XmlReader reader, Core.Interfaces.Serialization.IContext context) { base.Deserialize(reader, context); this.Start = DateTime.Parse(reader.ReadElementContentAsString()); this.End = DateTime.Parse(reader.ReadElementContentAsString()); this.Posts = reader.ReadElementContentAsString().Split(':'); }
public override void Deserialize(System.Xml.XmlReader reader, Core.Interfaces.Serialization.IContext context) { base.Deserialize(reader, context); this.Semester = new Semester(); this.Semester.Deserialize(reader.ReadSubtree(), context); reader.ReadToNextSibling("Score"); this.Score = reader.ReadElementContentAsInt(); }