Exemple #1
0
        public static bool SaveFile(string file, object value, Extentions.Type type)
        {
            FileInfo info = new FileInfo(file);

            return(SaveFile(value, info.Name, info.DirectoryName, $".{type}"));
        }
Exemple #2
0
        private static object ReadFile(string file, Extentions.Type type)
        {
            FileInfo info = new FileInfo(file);

            return(ReadFile(info.Name, info.DirectoryName, $".{type}"));
        }