Exemplo n.º 1
0
        public void SaveTo(string filename)
        {
            CoreSerializer serializer = new CoreSerializer
            {
                Factory = entity_factory
            };

            serializer.SaveTo(filename);
        }
Exemplo n.º 2
0
        public void LoadFrom(string filename)
        {
            CoreSerializer serializer = new CoreSerializer
            {
                Factory = new EntityFactory()
            };
            Controller tomerge = serializer.LoadFrom(filename);

            merge(tomerge);
        }