ICSharpCode.SharpZipLib.Core.FileSystemScanner.OnDirectoryFailure C# (CSharp) Method

OnDirectoryFailure() private method

Raise the DirectoryFailure event.
private OnDirectoryFailure ( string directory, Exception e ) : bool
directory string The directory name.
e System.Exception The exception detected.
return bool
        bool OnDirectoryFailure(string directory, Exception e)
        {
            DirectoryFailureHandler handler = DirectoryFailure;
            bool result = (handler != null);
            if (result) {
                var args = new ScanFailureEventArgs(directory, e);
                handler(this, args);
                alive_ = args.ContinueRunning;
            }
            return result;
        }