示例#1
0
 private void NewTradesHandler(IEnumerable <Trade> trades)
 {
     AddGuiAction(() => NewTrades.SafeInvoke(trades));
 }
示例#2
0
 private void RealTraderOnNewTrades(IEnumerable <Trade> trades)
 {
     NewTrades.SafeInvoke(this, new TradesEventArgs(trades));
 }
示例#3
0
 /// <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);
 }