protected virtual void OnFileSystemError(string path, string message, Exception exception = null) { FileSystemError?.Invoke(this, new FileSystemErrorEventArgs(path, message, exception)); }
protected virtual void OnFileSystemError(string path, Exception ex) { FileSystemError?.Invoke(this, new FileSystemErrorEventArgs(path, ex.Message, ex)); }