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); }
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); }