示例#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}"));
        }
示例#2
0
        private static object ReadFile(string file, Extentions.Type type)
        {
            FileInfo info = new FileInfo(file);

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