kCura.WinEDDS.LoadFilePreviewer
namespace kCura.WinEDDS
{
public class LoadFilePreviewer : LoadFileBase
{
public enum EventType
{
Begin,
Complete,
Progress
}
public class EventArgs
{
public long BytesRead { get; }
public long TotalBytes { get; }
public long StepSize { get; }
public EventType Type { get; }
public EventArgs(EventType type, long bytes, long total, long step);
}
public delegate void OnEventEventHandler (EventArgs e);
public static string extractedTextEncodingFieldName;
public event OnEventEventHandler OnEvent;
public LoadFilePreviewer(LoadFile args, IIoReporter reporter, ILog logger, int timeZoneOffset, bool errorsOnly, bool doRetryLogic, CancellationTokenSource tokenSource, Func<string> correlationIdFunc, ProcessContext context = null);
public object ReadFile(string path, int formType);
}
}