private void RaiseEndLoad(object state) { if (Configuration.NotifyRecordReadObject == null) { return; } ChoActionEx.RunWithIgnoreError(() => Configuration.NotifyRecordReadObject.EndLoad(state)); }
private void RaiseEndWrite(object state) { if (_callbackRecord == null) { return; } ChoActionEx.RunWithIgnoreError(() => _callbackRecord.EndWrite(state)); }
internal void RaiseEndLoad(object state) { if (_record == null) { return; } ChoActionEx.RunWithIgnoreError(() => _record.EndLoad(state)); }
private void RaiseEndLoad(object state) { if (_callbackRecord != null) { ChoActionEx.RunWithIgnoreError(() => _callbackRecord.EndLoad(state)); } else if (Reader != null) { ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state)); } }
private void RaiseEndWrite(object state) { if (_callbackRecord != null) { ChoActionEx.RunWithIgnoreError(() => _callbackRecord.EndWrite(state)); } else if (Writer != null) { ChoActionEx.RunWithIgnoreError(() => Writer.RaiseEndWrite(state)); } }
private void RaiseEndLoad(object state) { if (Configuration.NotifyFileReadObject != null) { ChoActionEx.RunWithIgnoreError(() => Configuration.NotifyFileReadObject.EndLoad(state)); } else if (Reader != null) { ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state)); } }
private void RaiseEndLoad(object state) { if (Reader != null && Reader.HasEndLoadSubscribed) { ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state)); } else if (_callbackFileRead != null) { ChoActionEx.RunWithIgnoreError(() => _callbackFileRead.EndLoad(state)); } }
private void RaiseFileHeaderArrange(List <string> fields) { if (_callbackFileHeaderArrange != null) { ChoActionEx.RunWithIgnoreError(() => _callbackFileHeaderArrange.FileHeaderArrange(fields)); } else if (Writer != null) { ChoActionEx.RunWithIgnoreError(() => Writer.RaiseFileHeaderArrange(fields)); } }
private void RaiseEndWrite(object state) { if (Writer != null && Writer.HasEndWriteSubscribed) { ChoActionEx.RunWithIgnoreError(() => Writer.RaiseEndWrite(state)); } else if (_callbackFileWrite != null) { ChoActionEx.RunWithIgnoreError(() => _callbackFileWrite.EndWrite(state)); } }
private void RaiseEndWrite(object state) { if (Configuration.NotifyRecordReadObject != null) { ChoActionEx.RunWithIgnoreError(() => Configuration.NotifyRecordWriteObject.EndWrite(state)); } else if (Writer != null) { ChoActionEx.RunWithIgnoreError(() => Writer.RaiseEndWrite(state)); } }
private void RaiseFileHeaderArrange(ref List <string> fields) { var fs = fields; if (_callbackFileHeaderArrange != null) { ChoActionEx.RunWithIgnoreError(() => _callbackFileHeaderArrange.FileHeaderArrange(fs)); } else if (Writer != null) { ChoActionEx.RunWithIgnoreError(() => Writer.RaiseFileHeaderArrange(ref fs)); } if (fs != null) { fields = fs; } }