private void RaiseNewMarketDepth(MarketDepth marketDepth) { NewMarketDepth.SafeInvoke(marketDepth); var multiEvt = NewMarketDepths; if (multiEvt == null) { return; } multiEvt.SafeInvoke(new[] { marketDepth }); }
private void NewMarketDepthHandler(MarketDepth marketDepth) { AddGuiAction(() => NewMarketDepth.SafeInvoke(marketDepth)); }