IIoReporter
Represents an abstract object to perform I/O operations, publish warning messages, and retry the operation.
using System;
namespace Relativity.DataExchange.Io
{
public interface IIoReporter
{
void CopyFile(string sourceFileName, string destFileName, bool overwrite, int lineNumber);
bool GetFileExists(string fileName, int lineNumber);
long GetFileLength(string fileName, int lineNumber);
void PublishRetryMessage(Exception exception, TimeSpan timeSpan, int retryCount, int totalRetryCount, long lineNumber);
void PublishWarningMessage(IoWarningEventArgs args);
}
}