Example #1
0
 public void Load(string file)
 {
     Serialization.Deserialize(file, this);
 }
Example #2
0
 public void Save(string file)
 {
     Serialization.Serialize(this, file);
 }
Example #3
0
 public static void Save(string filePath)
 {
     Serialization.Serialize(Instance, filePath);
     IsChanged = false;
 }
Example #4
0
 public void Save(Stream stream)
 {
     Serialization.Serialize(this, stream);
 }
Example #5
0
 public static void Load(Stream stream)
 {
     Serialization.Deserialize(stream, Instance);
 }