private void OnHistoricalDataRequestError(object sender, HistoricalDataErrorEventArgs e) { if (e.RequestId == this.request.RequestId) { this.mres.Set(); } }
public void EmitHistoricalDataError(global::OpenQuant.API.HistoricalDataRequest request, string message) { if (this.HistoricalDataRequestError != null) { HistoricalDataErrorEventArgs args = new HistoricalDataErrorEventArgs(request.request.RequestId, request.request.Instrument, this, 0, message); this.HistoricalDataRequestError(this, args); } }
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); }
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); }
private void FAkkLYX03J([In] object obj0, [In] HistoricalDataErrorEventArgs obj1) { uRIUcg8mp5qy3pl442 riUcg8mp5qy3pl442 = (uRIUcg8mp5qy3pl442)null; if (!this.V43ldlVmhs.TryGetValue(obj1.RequestId, out riUcg8mp5qy3pl442)) { return; } this.zYhk9pJVyB(riUcg8mp5qy3pl442, nB29ckVlruqARiYysQ.Error); this.PUwk3oEbct(riUcg8mp5qy3pl442, obj1.Message); this.puvkWE62bU(); this.hRhl1skFVG.Remove(obj1.RequestId); }
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); }
public void EmitHistoricalDataError(global::OpenQuant.API.HistoricalDataRequest request, string message) { if (this.HistoricalDataRequestError != null) { HistoricalDataErrorEventArgs args = new HistoricalDataErrorEventArgs(request.request.RequestId, request.request.Instrument, this, 0, message); this.HistoricalDataRequestError(this, args); } }