Exemple #1
0
 public Deserializer(BDM_File _bdmFile)
 {
     bdm_File = _bdmFile;
     bdm_File.SortEntries();
     type = GetBdmType();
     Validation();
     WriteFile();
 }
Exemple #2
0
 public Deserializer(BDM_File _bdmFile, string location)
 {
     saveLocation = location;
     bdm_File     = _bdmFile;
     bdm_File.SortEntries();
     type = GetBdmType();
     Validation();
     WriteFile();
     SaveBinaryFile();
 }
Exemple #3
0
        void ReadXmlFile(string path)
        {
            YAXSerializer serializer = new YAXSerializer(typeof(BDM_File), YAXSerializationOptions.DontSerializeNullObjects);

            bdm_File = (BDM_File)serializer.DeserializeFromFile(path);
        }