private void RiseAfterExportData(EventLogPosition currentPosition) { AfterExportDataHandler handlerAfterExportData = AfterExportData; handlerAfterExportData?.Invoke(new AfterExportDataEventArgs() { CurrentPosition = currentPosition }); }
public XEventExportMaster( BeforeExportDataHandler BeforeExportData, AfterExportDataHandler AfterExportData, OnErrorExportDataHandler OnErrorExportData) { _dataToSend = new List <XEventData>(); _portionSize = 0; _beforeExportData = BeforeExportData; _afterExportData = AfterExportData; _onErrorExportData = OnErrorExportData; }