Esempio n. 1
0
        //public static void ToExcel<T>(this IEnumerable<T> list, string fullyQualifiedFileName)
        //{
        //    ExcelSerializer.SerializeIEnumerableOfTypeToExcel(list, fullyQualifiedFileName);
        //}

        //public static void FromExcel<T>(this IEnumerable<T> list, ref List<T> myList, string worksheetName, string fullyQualifiedFileName) where T : new()
        //{
        //    myList = ExcelSerializer.DeserializeExcelToListOfType<T>(worksheetName, fullyQualifiedFileName);
        //}

        public static void ToFile <T>(this IEnumerable <T> list, string fullyQualifiedFileName, char separator)
        {
            FileSerializer.SerializeIEnumerableOfTypeToFile(list, fullyQualifiedFileName, separator);
        }