Beispiel #1
0
 public static bool IsFile(string url)
 {
     return(AppFile.Exists(ConvertToAppPath(url)));
 }
Beispiel #2
0
 public static async Task <string> ReadAllTextAsync(string url)
 {
     return(await AppFile.ReadAllTextAsync(ConvertToAppPath(url)));
 }
Beispiel #3
0
        public static bool Exists(string url)
        {
            var appPath = ConvertToAppPath(url);

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