public FtpTransferEventArgs(string localFile, string remoteFile, EnumFtpOperation operation) { _localFile = localFile; _remoteFile = remoteFile; _operation = operation; _time = System.DateTime.Now; }
private void handleException(Exception e, string localFile, string remoteFile, EnumFtpOperation operation, string message, params object[] values) { _error = extractExceptionInfo(e, message, values); if (OperationFailed != null) { OperationFailed(this, new FtpTransferEventArgs(localFile, remoteFile, operation)); } }