Beispiel #1
0
 /// <summary>
 /// Calls BinaryDeserialize to deserialize data from an binary file
 /// </summary>
 /// <param name="filePath">path of file to save data to</param>
 public void BinaryDeserialize(string filePath)
 {
     List <T> deserializedList = AddDeserializedObjectsToListManager(BinSerializerUtility.DeserializeBinaryFile <List <T> >(filePath));
 }
Beispiel #2
0
    public List <T> Open(string filename)
    {
        BinSerializerUtility binSerial = new BinSerializerUtility();

        return(binSerial.BinaryFileDeSerialize <T>(filename));   // just T
    }
Beispiel #3
0
 /// <summary>
 /// Calls SerializeBinaryFileto serialize data to a binary file
 /// </summary>
 /// <param name="filePath">path of file to save data to</param>
 public void BinarySerialize(string filePath)
 {
     BinSerializerUtility.SerializeBinaryFile(filePath, objects);
 }