예제 #1
0
 public static bool IsFileAvailabe(string path)
 {
     if (path is null)
     {
         return(false);
     }
     return(AvailableExtensionsArchive.Contains(Path.GetExtension(path).ToLowerInvariant()));
 }
예제 #2
0
 public static bool IsFileAvailabe(Windows.Storage.IStorageFile file)
 {
     return(AvailableExtensionsArchive.Contains(Path.GetExtension(file.Path).ToLower()));
 }