private AbortIfFileDoesntExist ( string fileName ) : void | ||
fileName | string | |
return | void |
internal virtual void AbortIfFileDoesntExist(string fileName)
{
if (!File.Exists(fileName))
{
throw new FileNotFoundException("File not found.", fileName);
}
}