Esempio n. 1
0
 public static void ReadMetaData()
 {
     var xser = new XmlSerializer(typeof(MetaInformations));
     using (var sr = new StreamReader(Path.Combine(data_path, "metadata", "mercs.xml")))
     {
         meta_data = (MetaInformations)xser.Deserialize(sr);
     }
 }
Esempio n. 2
0
        public static void ReadMetaData()
        {
            var xser = new XmlSerializer(typeof(MetaInformations));

            using (var sr = new StreamReader(Path.Combine(data_path, "metadata", "mercs.xml")))
            {
                meta_data = (MetaInformations)xser.Deserialize(sr);
            }
        }