Exemple #1
0
 public Deserializer(ERS_File _ersFile, string location)
 {
     saveLocation = location;
     ers_File     = _ersFile;
     Validation();
     WriteBinaryErsFile();
     File.WriteAllBytes(saveLocation, bytes.ToArray());
 }
Exemple #2
0
        void ReadXmlFile(string path)
        {
            YAXSerializer serializer = new YAXSerializer(typeof(ERS_File), YAXSerializationOptions.DontSerializeNullObjects);

            ers_File = (ERS_File)serializer.DeserializeFromFile(path);
        }
Exemple #3
0
 public Deserializer(ERS_File _ersFile)
 {
     ers_File = _ersFile;
     Validation();
     WriteBinaryErsFile();
 }