private void RaiseEndLoad(object state) { if (_callbackRecord != null) { ChoActionEx.RunWithIgnoreError(() => _callbackRecord.EndLoad(state)); } else if (Reader != null) { ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(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)); } }