Ejemplo n.º 1
0
 internal override void LoadMissingDataCore ()
 {
     Label label = new Label (Id);
     type = label.GetLabelType ();
     country = label.GetCountry ();
     base.LoadMissingDataCore (label);
 }
Ejemplo n.º 2
0
 internal Event(XmlReader reader)
 {
     reader.Read ();
     date = reader ["date"];
     country = reader ["country"];
     catalog_number = reader ["catalog-number"];
     barcode = reader ["barcode"];
     format = Utils.StringToEnum<ReleaseFormat> (reader ["format"]);
     if (reader.ReadToDescendant ("label")) {
         label = new Label (reader.ReadSubtree ());
         reader.Read (); // FIXME this is a workaround for Mono bug 334752
     }
     reader.Close ();
 }