예제 #1
0
 public bool DirectoryExistsOrNot()
 {
     if (FileInfo.CheckIfDirectoryExistsOrSetDefault() != "N/A")
     {
         return(true);
     }
     Logger.Log("Directory does not exist - Please enter a valid output path or empty for default.");
     return(false);
 }
예제 #2
0
 public async Task <bool> DirectoryExistsOrNotAsync()
 {
     if (await FileInfo.CheckIfDirectoryExistsOrSetDefault(WindowInputs.OutputDirectory) != "N/A")
     {
         return(true);
     }
     Logger.Log("Directory does not exist - Please enter a valid output path or empty for default.");
     return(false);
 }