예제 #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));
        }