Relativity.DataExchange.Process.ProcessBase2
Defines an abstract object that performs a runnable process.
namespace Relativity.DataExchange.Process
{
public abstract class ProcessBase2 : IRunnable, IDisposable
{
public ProcessContext Context { get; }
public Guid ProcessId { get; set; }
protected IAppSettings AppSettings { get; }
protected CancellationTokenSource CancellationTokenSource { get; }
protected IFileSystem FileSystem { get; }
protected ILog Logger { get; }
protected ProcessBase2();
protected ProcessBase2(ILog logger);
protected ProcessBase2(ILog logger, CancellationTokenSource tokenSource);
protected ProcessBase2(IFileSystem fileSystem, IAppSettings settings, ILog logger, CancellationTokenSource tokenSource);
public void Dispose();
public void Start();
protected IIoReporter CreateIoReporter(IoReporterContext context);
protected virtual void Dispose(bool disposing);
protected abstract void OnExecute();
}
}