Esempio n. 1
0
 /// <summary>
 /// 根据路径读取
 /// </summary>
 /// <param name="path">指定路径</param>
 /// <param name="contents">读取到的内容</param>
 public static void Read(string path, out string contents)
 {
     contents = default;
     FileBase.PathAnalyse(path, out var dp);
     if (FileBase.PathCheck(dp, FileCheckMode.None))
     {
         contents = ReadStart(path);
     }
 }