예제 #1
0
        public Deserializer(string location)
        {
            saveLocation = String.Format("{0}/{1}", Path.GetDirectoryName(location), Path.GetFileNameWithoutExtension(location));
            YAXSerializer serializer = new YAXSerializer(typeof(ECF_File), YAXSerializationOptions.DontSerializeNullObjects);

            ecfFile = (ECF_File)serializer.DeserializeFromFile(location);
            Write();
        }
예제 #2
0
 public Deserializer(ECF_File _ecfFile)
 {
     writeToDisk = false;
     ecfFile     = _ecfFile;
     Write();
 }