示例#1
0
文件: AppUrl.cs 项目: Acmion/HyperNav
 public static bool IsFile(string url)
 {
     return(AppFile.Exists(ConvertToAppPath(url)));
 }
示例#2
0
文件: AppUrl.cs 项目: Acmion/HyperNav
 public static async Task <string> ReadAllTextAsync(string url)
 {
     return(await AppFile.ReadAllTextAsync(ConvertToAppPath(url)));
 }
示例#3
0
文件: AppUrl.cs 项目: Acmion/HyperNav
        public static bool Exists(string url)
        {
            var appPath = ConvertToAppPath(url);

            return(AppFile.Exists(appPath) || AppDirectory.Exists(appPath));
        }