Esempio n. 1
0
        internal static void Write <Y>(IStandardSerializer <T> serializer, Y listElements, string path) where Y : ListSerializable <T>
        {
            string text = serializer.SerializeList(listElements);

            FileWriter.Write(text, path);
        }
Esempio n. 2
0
        internal static void Write(IStandardSerializer <T> serializer, T element, string path)
        {
            string text = serializer.Serialize(element);

            FileWriter.Write(text, path);
        }