private void StopOrdersChangedHandler(IEnumerable <Order> orders) { AddGuiAction(() => StopOrdersChanged.SafeInvoke(orders)); }
private void RealTraderOnStopOrdersChanged(IEnumerable <Order> orders) { StopOrdersChanged.SafeInvoke(this, new OrdersEventArgs(orders)); }
/// <summary> /// To call the event <see cref="Connector.StopOrdersChanged"/>. /// </summary> /// <param name="stopOrders">Stop orders that should be passed to the event.</param> private void RaiseStopOrdersChanged(IEnumerable <Order> stopOrders) { StopOrdersChanged.SafeInvoke(stopOrders); }