public TsvReader() : base(new CsvProfile('\t', '\"', "\r\n", true, true, 4096, "(empty)", "(null)")) { base.ProgressStatusChanged += (s, e) => ProgressStatusChanged?.Invoke(this , new NBi.Extensibility.ProgressStatusEventArgs(e.Status, e.Progress.Current, e.Progress.Total)); }
protected void Inform(string text) { ProgressStatusChanged?.Invoke(this, new ProgressStatusEventArgs(text)); }
protected void RaiseProgressStatus(string status, int current, int total) => ProgressStatusChanged?.Invoke(this, new ProgressStatusEventArgs(string.Format(status, current, total), current, total));
protected void RaiseProgressStatus(string status) => ProgressStatusChanged?.Invoke(this, new ProgressStatusEventArgs(status));
public CsvReader(CsvProfile profile, int bufferSize) : base(profile, bufferSize) { base.ProgressStatusChanged += (s, e) => ProgressStatusChanged?.Invoke(this, new ProgressStatusEventArgs(e.Status, e.Progress.Current, e.Progress.Total)); }
private void SetProgress(bool value) { ProgressIsVisible = value; _dispatcherService.InvokeOnUiThreadAsync(() => ProgressStatusChanged?.Invoke(this, EventArgs.Empty)); }