示例#1
0
 private void RaiseEndLoad(object state)
 {
     if (_callbackRecord != null)
     {
         ChoActionEx.RunWithIgnoreError(() => _callbackRecord.EndLoad(state));
     }
     else if (Reader != null)
     {
         ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state));
     }
 }
示例#2
0
 private void RaiseEndLoad(object state)
 {
     if (Configuration.NotifyFileReadObject != null)
     {
         ChoActionEx.RunWithIgnoreError(() => Configuration.NotifyFileReadObject.EndLoad(state));
     }
     else if (Reader != null)
     {
         ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state));
     }
 }
示例#3
0
 private void RaiseEndLoad(object state)
 {
     if (Reader != null && Reader.HasEndLoadSubscribed)
     {
         ChoActionEx.RunWithIgnoreError(() => Reader.RaiseEndLoad(state));
     }
     else if (_callbackFileRead != null)
     {
         ChoActionEx.RunWithIgnoreError(() => _callbackFileRead.EndLoad(state));
     }
 }