public void SaveTo(string filename) { CoreSerializer serializer = new CoreSerializer { Factory = entity_factory }; serializer.SaveTo(filename); }
public void LoadFrom(string filename) { CoreSerializer serializer = new CoreSerializer { Factory = new EntityFactory() }; Controller tomerge = serializer.LoadFrom(filename); merge(tomerge); }