private void NewTradesHandler(IEnumerable <Trade> trades) { AddGuiAction(() => NewTrades.SafeInvoke(trades)); }
private void RealTraderOnNewTrades(IEnumerable <Trade> trades) { NewTrades.SafeInvoke(this, new TradesEventArgs(trades)); }
/// <summary> /// To call the event <see cref="Connector.NewTrades"/>. /// </summary> /// <param name="trades">Trades that should be passed to the event.</param> private void RaiseNewTrades(IEnumerable <Trade> trades) { NewTrades.SafeInvoke(trades); }