Esempio n. 1
0
 public static Series FromXml(XContainer doc)
 {
     var serializer = new XmlSerializer(typeof(Series));
     return (Series)serializer.Deserialize(doc.CreateReader());
 }
Esempio n. 2
0
 public static Episode FromXml(XContainer doc)
 {
     var serializer = new XmlSerializer(typeof(Episode));
     return (Episode)serializer.Deserialize(doc.CreateReader());
 }