Exemple #1
0
        public static void Deserialize(this ScnObjDummy dummy, TextReader reader)
        {
            var dict = new Dictionary <string, double>();

            Deserialize(reader, dict);
            dummy.LoadFromDict(dict);
        }
Exemple #2
0
        public static void Serialize(this ScnObjDummy dummy, TextWriter writer)
        {
            var dict = dummy.SaveToDict();

            Serialize(writer, dict);
        }