private void RealTraderOnStopOrdersRegisterFailed(IEnumerable <OrderFail> fails) { StopOrdersRegisterFailed.SafeInvoke(this, new OrderFailsEventArgs(fails)); }
private void StopOrdersRegisterFailedHandler(IEnumerable <OrderFail> fails) { AddGuiAction(() => StopOrdersRegisterFailed.SafeInvoke(fails)); }
/// <summary> /// To call the event <see cref="StopOrdersRegisterFailed"/>. /// </summary> /// <param name="fail">Error information that should be passed to the event.</param> private void RaiseStopOrdersRegisterFailed(OrderFail fail) { StopOrderRegisterFailed?.Invoke(fail); StopOrdersRegisterFailed?.Invoke(new[] { fail }); }
/// <summary> /// To call the event <see cref="Connector.StopOrdersRegisterFailed"/>. /// </summary> /// <param name="fails">Error information that should be passed to the event.</param> private void RaiseStopOrdersRegisterFailed(IEnumerable <OrderFail> fails) { StopOrdersRegisterFailed.SafeInvoke(fails); }