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); }
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); }
private void OnHistoricalDataRequestCancelled(object sender, HistoricalDataEventArgs e) { if (e.RequestId == this.request.RequestId) this.mres.Set(); }
private void UpdateDownloadItem(DownloadViewItem item, HistoricalDataEventArgs args) { ++item.Count; item.Total = args.DataLength <= 0 ? item.Count : args.DataLength; Thread.Sleep(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); }
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); }
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); }