Example #1
0
 private void J9LThvcYS([In] HistoricalDataRequest obj0, [In] int obj1)
 {
   HistoricalDataEventArgs args = new HistoricalDataEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, obj1);
   if (this.MYMwJXMLq == null)
     return;
   this.MYMwJXMLq((object) this, args);
 }
Example #2
0
 private void xmlocsjtF([In] HistoricalDataRequest obj0, [In] int obj1)
 {
   HistoricalDataEventArgs args = new HistoricalDataEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, obj1);
   if (this.uGp8FpvD3 == null)
     return;
   this.uGp8FpvD3((object) this, args);
 }
Example #3
0
 private void OnHistoricalDataRequestCancelled(object sender, HistoricalDataEventArgs e)
 {
     if (e.RequestId == this.request.RequestId)
         this.mres.Set();
 }
Example #4
0
 private void UpdateDownloadItem(DownloadViewItem item, HistoricalDataEventArgs args)
 {
   ++item.Count;
   item.Total = args.DataLength <= 0 ? item.Count : args.DataLength;
   Thread.Sleep(0);
 }
Example #5
0
 private void provider_HistoricalDataRequestCancelled(object sender, HistoricalDataEventArgs args)
 {
   DownloadViewItem downloadViewItem = (DownloadViewItem) null;
   if (!this.items.TryGetValue(args.RequestId, out downloadViewItem))
     return;
   this.SetItemStatus(downloadViewItem, DownloadItemStatus.Cancelled);
   this.activeRequests.Remove(args.RequestId);
 }
Example #6
0
 private void FAwwpUwD2([In] HistoricalDataRequest obj0, [In] int obj1)
 {
   HistoricalDataEventArgs args = new HistoricalDataEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, obj1);
   if (this.NI1e0JhDM == null)
     return;
   this.NI1e0JhDM((object) this, args);
 }
Example #7
0
 private void iAYkpjLCs([In] HistoricalDataRequest obj0, [In] int obj1)
 {
   HistoricalDataEventArgs args = new HistoricalDataEventArgs(obj0.RequestId, obj0.Instrument, (IHistoricalDataProvider) this, obj1);
   if (this.utrQoQnL1 == null)
     return;
   this.utrQoQnL1((object) this, args);
 }