示例#1
0
 private void iC2ZqQH0T([In] HistoricalDataRequest obj0, [In] string obj1)
 {
   HistoricalDataErrorEventArgs args = new HistoricalDataErrorEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, 0, obj1);
   if (this.z159rO9Na == null)
     return;
   this.z159rO9Na((object) this, args);
 }
示例#2
0
 private void provider_HistoricalDataRequestError(object sender, HistoricalDataErrorEventArgs args)
 {
   DownloadViewItem downloadViewItem = (DownloadViewItem) null;
   if (!this.items.TryGetValue(((HistoricalDataEventArgs) args).RequestId, out downloadViewItem))
     return;
   this.SetItemStatus(downloadViewItem, DownloadItemStatus.Error);
   this.SetItemMessage(downloadViewItem, args.Message);
   this.UpdateProgressBar();
   this.activeRequests.Remove(((HistoricalDataEventArgs) args).RequestId);
 }
示例#3
0
 private void OnHistoricalDataRequestError(object sender, HistoricalDataErrorEventArgs e)
 {
     if (e.RequestId == this.request.RequestId)
         this.mres.Set();
 }
示例#4
0
 private void NxZTw30av([In] HistoricalDataRequest obj0, [In] string obj1)
 {
   HistoricalDataErrorEventArgs args = new HistoricalDataErrorEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, 0, obj1);
   if (this.FWtYcSNLi == null)
     return;
   this.FWtYcSNLi((object) this, args);
 }