private void NewMyTradesHandler(IEnumerable <MyTrade> trades) { AddGuiAction(() => NewMyTrades.SafeInvoke(trades)); }
private void RealTraderOnNewMyTrades(IEnumerable <MyTrade> trades) { NewMyTrades.SafeInvoke(this, new MyTradesEventArgs(trades)); }
/// <summary> /// To call the event <see cref="Connector.NewMyTrades"/>. /// </summary> /// <param name="trades">My trades to be passed to the event.</param> private void RaiseNewMyTrades(IEnumerable <MyTrade> trades) { NewMyTrades.SafeInvoke(trades); }