internal void method_29(OnFill onFill_0) { if (this.strategy__0 != null && this.strategy__0.Status == StrategyStatus.Running) { this.idArray_1[onFill_0.portfolio_0.int_0].vmethod_32(onFill_0); } }
public void SetContent(ref T content) { if (scroll == null) { return; } var items = scroll.Items; if (items == null) { return; } int equalsIndex = 0; for (int i = 0; i < items.Count; i++) { var item = items[i]; if (item == null) { continue; } var element = item.GetComponent <IElement <T, F> >(); if (element != null && element.Equals(content)) { equalsIndex = i; scroll.SetContentInPivot(equalsIndex); OnFill?.Invoke(); return; } } }
internal void OnFill(Portfolio portfolio, Fill fill, bool queued) { var e = new OnFill(portfolio, fill); if (queued) { this.queue.Enqueue(e); } else { OnEvent(e); } }
private void DispatcherNewFill(object sender, OnFill fill) { PortfolioEventQueue.Enqueue(fill); }
internal void OnFill(Portfolio portfolio, Fill fill, bool queued) { var e = new OnFill(portfolio, fill); if (queued) this.queue.Enqueue(e); else OnEvent(e); }